ListOrganizationalUnitsForParentResponse.fromJson constructor
Implementation
factory ListOrganizationalUnitsForParentResponse.fromJson(
Map<String, dynamic> json) {
return ListOrganizationalUnitsForParentResponse(
nextToken: json['NextToken'] as String?,
organizationalUnits: (json['OrganizationalUnits'] as List?)
?.whereNotNull()
.map((e) => OrganizationalUnit.fromJson(e as Map<String, dynamic>))
.toList(),
);
}