Coordinates.fromMap constructor Null safety

Coordinates.fromMap(
  1. Map map
)

Creates coordinates from a map containing its properties.

Implementation

Coordinates.fromMap(Map map)
    : latitude = map['latitude'],
      longitude = map['longitude'];