addGeoPointProperty method

CFUserBuilder addGeoPointProperty(
  1. String key,
  2. double latitude,
  3. double longitude, {
  4. bool isPrivate = false,
  5. bool isSession = false,
})

Add a GeoPoint property

Implementation

CFUserBuilder addGeoPointProperty(
    String key, double latitude, double longitude,
    {bool isPrivate = false, bool isSession = false}) {
  final geoPoint = {
    'latitude': latitude,
    'longitude': longitude,
  };
  return addMapProperty(key, geoPoint,
      isPrivate: isPrivate, isSession: isSession);
}