toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      'coordinate': {
        'latitude': coordinate.latitude,
        'longitude': coordinate.longitude,
      },
      'buildingIdentifier': buildingIdentifier,
      'floorIdentifier': floorIdentifier,
      'bearing': bearing?.toMap(),
      'accuracy': accuracy,
    };