UserLocation constructor

UserLocation({
  1. required String userId,
  2. required GeoPoint location,
  3. required Timestamp timestamp,
  4. double? speed,
  5. double? heading,
  6. double? accuracy,
})

//////////// ////////////

Implementation

// II.B - Constructor
///////////////
UserLocation({
  required this.userId,
  required this.location,
  required this.timestamp,
  this.speed,
  this.heading,
  this.accuracy,
});