Scope.fromJson constructor
Implementation
factory Scope.fromJson(Map<String, dynamic> json) {
return Scope(
complianceResourceId: json['ComplianceResourceId'] as String?,
complianceResourceTypes: (json['ComplianceResourceTypes'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
tagKey: json['TagKey'] as String?,
tagValue: json['TagValue'] as String?,
);
}