DomainForwarding.fromJson constructor

DomainForwarding.fromJson(
  1. Map json_
)

Implementation

DomainForwarding.fromJson(core.Map json_)
    : this(
        pathForwarding: json_.containsKey('pathForwarding')
            ? json_['pathForwarding'] as core.bool
            : null,
        pemCertificate: json_.containsKey('pemCertificate')
            ? json_['pemCertificate'] as core.String
            : null,
        redirectType: json_.containsKey('redirectType')
            ? json_['redirectType'] as core.String
            : null,
        sslEnabled: json_.containsKey('sslEnabled')
            ? json_['sslEnabled'] as core.bool
            : null,
        subdomain: json_.containsKey('subdomain')
            ? json_['subdomain'] as core.String
            : null,
        targetUri: json_.containsKey('targetUri')
            ? json_['targetUri'] as core.String
            : null,
      );