ResourceInfo.fromJson constructor
ResourceInfo.fromJson(
- Object? j
Implementation
factory ResourceInfo.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return ResourceInfo(
resourceType: switch (json['resourceType']) {
null => '',
Object $1 => decodeString($1),
},
resourceName: switch (json['resourceName']) {
null => '',
Object $1 => decodeString($1),
},
owner: switch (json['owner']) {
null => '',
Object $1 => decodeString($1),
},
description: switch (json['description']) {
null => '',
Object $1 => decodeString($1),
},
);
}