Extras.fromMap constructor

Extras.fromMap(
  1. Map<String, dynamic> json
)

Implementation

factory Extras.fromMap(Map<String, dynamic> json) => Extras(
  countries: json["countries"] == null ? [] : List<ExtrasCountry>.from(json["countries"]!.map((x) => ExtrasCountry.fromMap(x))),
);