Derived.fromJson constructor

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

Implementation

factory Derived.fromJson(Map<String, dynamic> json) => Derived(
      locations: List<Location>.from(
          json["locations"].map((x) => Location.fromJson(x))),
    );