Origination.fromJson constructor
Implementation
factory Origination.fromJson(Map<String, dynamic> json) {
return Origination(
disabled: json['Disabled'] as bool?,
routes: (json['Routes'] as List?)
?.whereNotNull()
.map((e) => OriginationRoute.fromJson(e as Map<String, dynamic>))
.toList(),
);
}