DataResource.fromJson constructor
Implementation
factory DataResource.fromJson(Map<String, dynamic> json) {
return DataResource(
type: json['Type'] as String?,
values: (json['Values'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
);
}