ListDomainConfigurationsResponse.fromJson constructor

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

Implementation

factory ListDomainConfigurationsResponse.fromJson(Map<String, dynamic> json) {
  return ListDomainConfigurationsResponse(
    domainConfigurations: (json['domainConfigurations'] as List?)
        ?.whereNotNull()
        .map((e) =>
            DomainConfigurationSummary.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextMarker: json['nextMarker'] as String?,
  );
}