ResourceCount.fromJson constructor

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

Implementation

factory ResourceCount.fromJson(Map<String, dynamic> json) {
  return ResourceCount(
    count: json['count'] as int?,
    resourceType: (json['resourceType'] as String?)?.toResourceType(),
  );
}