CoffeeBackgroundLocation class

Example

CoffeeBackgroundGeolocation.onLocation((CoffeeBackgroundLocation location) {
  print(location.latitude);
  print(location.longitude);
  // ....
});
.

Constructors

CoffeeBackgroundLocation.new({required double latitude, required double longitude, required double accuracy, required double altitude, required double speed, required double heading, required double speedAccuracy, required int batteryLevel, required String deviceVersion, required String deviceType, required String deviceName, required String dateTime, required String internetConnectionType})
CoffeeBackgroundLocation.copy(CoffeeBackgroundLocation original)

Properties

accuracy double
getter/setter pair
altitude double
getter/setter pair
batteryLevel int
getter/setter pair
dateTime String
getter/setter pair
deviceName String
getter/setter pair
deviceType String
getter/setter pair
deviceVersion String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
heading double
getter/setter pair
internetConnectionType String
getter/setter pair
latitude double
getter/setter pair
longitude double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speed double
getter/setter pair
speedAccuracy double
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Return Map representation of CoffeeBackgroundLocation.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic> map) CoffeeBackgroundLocation
Convert the incoming map to a CoffeeBackgroundLocation instance.