Moon.fromMap constructor

Moon.fromMap(
  1. Map map
)

Implementation

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