ListDomainAssociationsResult.fromJson constructor

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

Implementation

factory ListDomainAssociationsResult.fromJson(Map<String, dynamic> json) {
  return ListDomainAssociationsResult(
    domainAssociations: (json['domainAssociations'] as List)
        .whereNotNull()
        .map((e) => DomainAssociation.fromJson(e as Map<String, dynamic>))
        .toList(),
    nextToken: json['nextToken'] as String?,
  );
}