GetOrganizationConfigRuleDetailedStatusResponse.fromJson constructor

GetOrganizationConfigRuleDetailedStatusResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetOrganizationConfigRuleDetailedStatusResponse.fromJson(
    Map<String, dynamic> json) {
  return GetOrganizationConfigRuleDetailedStatusResponse(
    nextToken: json['NextToken'] as String?,
    organizationConfigRuleDetailedStatus: (json[
            'OrganizationConfigRuleDetailedStatus'] as List?)
        ?.whereNotNull()
        .map((e) => MemberAccountStatus.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}