DomainDetails.fromJson constructor

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

Implementation

factory DomainDetails.fromJson(Map<String, dynamic> json) {
  return DomainDetails(
    creationTime: timeStampFromJson(json['CreationTime']),
    domainArn: json['DomainArn'] as String?,
    domainId: json['DomainId'] as String?,
    domainName: json['DomainName'] as String?,
    lastModifiedTime: timeStampFromJson(json['LastModifiedTime']),
    status: (json['Status'] as String?)?.toDomainStatus(),
    url: json['Url'] as String?,
  );
}