CivitaCreatorResp.fromJson constructor

  1. @override
CivitaCreatorResp.fromJson(
  1. Map<String, dynamic> json
)

Implementation

@override
CivitaCreatorResp.fromJson(Map<String, dynamic> json) {
  items = json['items']
      .map<CivitaCreator>(
        (e) => CivitaCreator.fromJson(e),
      )
      .toList();
  metadata = CivitaMetadata.fromJson(json['metadata']);
}