Moon.fromMap constructor
Moon.fromMap(
- Map map
Implementation
Moon.fromMap(Map<dynamic, dynamic> map) {
moonrise = map['moonrise'] as String;
moonset = map['moonset'] as String;
}
Moon.fromMap(Map<dynamic, dynamic> map) {
moonrise = map['moonrise'] as String;
moonset = map['moonset'] as String;
}