DescribeUserPoolDomainResponse.fromJson constructor

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

Implementation

factory DescribeUserPoolDomainResponse.fromJson(Map<String, dynamic> json) {
  return DescribeUserPoolDomainResponse(
    domainDescription: json['DomainDescription'] != null
        ? DomainDescriptionType.fromJson(
            json['DomainDescription'] as Map<String, dynamic>)
        : null,
  );
}