toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (additionalVariables != null)
        'additionalVariables': additionalVariables!,
      if (authKey != null) 'authKey': authKey!,
      if (authType != null) 'authType': authType!,
      if (oauth2AuthCodeFlow != null)
        'oauth2AuthCodeFlow': oauth2AuthCodeFlow!,
      if (oauth2ClientCredentials != null)
        'oauth2ClientCredentials': oauth2ClientCredentials!,
      if (oauth2JwtBearer != null) 'oauth2JwtBearer': oauth2JwtBearer!,
      if (sshPublicKey != null) 'sshPublicKey': sshPublicKey!,
      if (userPassword != null) 'userPassword': userPassword!,
    };