SasPortalListCustomersResponse.fromJson constructor

SasPortalListCustomersResponse.fromJson(
  1. Map _json
)

Implementation

SasPortalListCustomersResponse.fromJson(core.Map _json)
    : this(
        customers: _json.containsKey('customers')
            ? (_json['customers'] as core.List)
                .map<SasPortalCustomer>((value) => SasPortalCustomer.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        nextPageToken: _json.containsKey('nextPageToken')
            ? _json['nextPageToken'] as core.String
            : null,
      );