TencentLocationCoordinate.fromMap constructor
- Map map
Implementation
factory TencentLocationCoordinate.fromMap(Map map) {
return TencentLocationCoordinate(
latitude: ((map['latitude'] as num?) ?? 0).toDouble(),
longitude: ((map['longitude'] as num?) ?? 0).toDouble(),
);
}