ResourceKey.fromJson constructor
Implementation
factory ResourceKey.fromJson(Map<String, dynamic> json) {
return ResourceKey(
resourceId: json['resourceId'] as String,
resourceType: (json['resourceType'] as String).toResourceType(),
);
}