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,
      );