UriOverride.fromJson constructor

UriOverride.fromJson(
  1. Map json_
)

Implementation

UriOverride.fromJson(core.Map json_)
    : this(
        host: json_.containsKey('host') ? json_['host'] as core.String : null,
        pathOverride: json_.containsKey('pathOverride')
            ? PathOverride.fromJson(
                json_['pathOverride'] as core.Map<core.String, core.dynamic>)
            : null,
        port: json_.containsKey('port') ? json_['port'] as core.String : null,
        queryOverride: json_.containsKey('queryOverride')
            ? QueryOverride.fromJson(
                json_['queryOverride'] as core.Map<core.String, core.dynamic>)
            : null,
        scheme: json_.containsKey('scheme')
            ? json_['scheme'] as core.String
            : null,
        uriOverrideEnforceMode: json_.containsKey('uriOverrideEnforceMode')
            ? json_['uriOverrideEnforceMode'] as core.String
            : null,
      );