DomainRedirect.fromJson constructor

DomainRedirect.fromJson(
  1. Map json_
)

Implementation

DomainRedirect.fromJson(core.Map json_)
    : this(
        domainName: json_.containsKey('domainName')
            ? json_['domainName'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );