CreateLinks.fromJson constructor

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

Implementation

factory CreateLinks.fromJson(Map<String, dynamic> json) => CreateLinks(
      self: List<Collection>.from(
          json["self"].map((x) => Collection.fromJson(x))),
      collection: List<Collection>.from(
          json["collection"].map((x) => Collection.fromJson(x))),
    );