Resource.fromJson constructor
Implementation
factory Resource.fromJson(Map<String, dynamic> json) {
return Resource(
arn: json['arn'] as String?,
attributes: (json['attributes'] as Map<String, dynamic>?)
?.map((k, e) => MapEntry(k, e as String)),
feature: json['feature'] as String?,
name: json['name'] as String?,
type: json['type'] as String?,
);
}