factory Resource.fromJson(Map<String, dynamic> json) { return Resource( resourceName: json['ResourceName'] as String?, resourceType: json['ResourceType'] as String?, ); }