GoogleCloudIdentitytoolkitAdminV2Smtp.fromJson constructor

GoogleCloudIdentitytoolkitAdminV2Smtp.fromJson(
  1. Map _json
)

Implementation

GoogleCloudIdentitytoolkitAdminV2Smtp.fromJson(core.Map _json)
    : this(
        host: _json.containsKey('host') ? _json['host'] as core.String : null,
        password: _json.containsKey('password')
            ? _json['password'] as core.String
            : null,
        port: _json.containsKey('port') ? _json['port'] as core.int : null,
        securityMode: _json.containsKey('securityMode')
            ? _json['securityMode'] as core.String
            : null,
        senderEmail: _json.containsKey('senderEmail')
            ? _json['senderEmail'] as core.String
            : null,
        username: _json.containsKey('username')
            ? _json['username'] as core.String
            : null,
      );