OceanTide.fromMap(Map<String, dynamic> map) { fxTime = map['fxTime'] as String; height = map['height'] as String; type = map['type'] as String? ?? ''; }