ResourceDataSyncAwsOrganizationsSource.fromJson constructor
ResourceDataSyncAwsOrganizationsSource.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ResourceDataSyncAwsOrganizationsSource.fromJson(
Map<String, dynamic> json) {
return ResourceDataSyncAwsOrganizationsSource(
organizationSourceType: json['OrganizationSourceType'] as String,
organizationalUnits: (json['OrganizationalUnits'] as List?)
?.whereNotNull()
.map((e) => ResourceDataSyncOrganizationalUnit.fromJson(
e as Map<String, dynamic>))
.toList(),
);
}