KerberosConfig.fromJson constructor

KerberosConfig.fromJson(
  1. Map _json
)

Implementation

KerberosConfig.fromJson(core.Map _json)
    : this(
        keytab: _json.containsKey('keytab')
            ? Secret.fromJson(
                _json['keytab'] as core.Map<core.String, core.dynamic>)
            : null,
        krb5ConfigGcsUri: _json.containsKey('krb5ConfigGcsUri')
            ? _json['krb5ConfigGcsUri'] as core.String
            : null,
        principal: _json.containsKey('principal')
            ? _json['principal'] as core.String
            : null,
      );