ResourceInfo.fromJson constructor

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

Implementation

factory ResourceInfo.fromJson(Map<String, dynamic> json) {
  return ResourceInfo(
    resourceType: json['resourceType'] ?? '',
    resourceName: json['resourceName'] ?? '',
    owner: json['owner'] ?? '',
    description: json['description'] ?? '',
  );
}