ReservationCoverageGroup.fromJson constructor

ReservationCoverageGroup.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ReservationCoverageGroup.fromJson(Map<String, dynamic> json) {
  return ReservationCoverageGroup(
    attributes: (json['Attributes'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
    coverage: json['Coverage'] != null
        ? Coverage.fromJson(json['Coverage'] as Map<String, dynamic>)
        : null,
  );
}