ListGroupResourcesItem.fromJson constructor

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

Implementation

factory ListGroupResourcesItem.fromJson(Map<String, dynamic> json) {
  return ListGroupResourcesItem(
    identifier: json['Identifier'] != null
        ? ResourceIdentifier.fromJson(
            json['Identifier'] as Map<String, dynamic>)
        : null,
    status: json['Status'] != null
        ? ResourceStatus.fromJson(json['Status'] as Map<String, dynamic>)
        : null,
  );
}