toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cloudSqlId != null) 'cloudSqlId': cloudSqlId!,
      if (host != null) 'host': host!,
      if (password != null) 'password': password!,
      if (passwordSet != null) 'passwordSet': passwordSet!,
      if (port != null) 'port': port!,
      if (ssl != null) 'ssl': ssl!,
      if (username != null) 'username': username!,
    };