toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (createTime != null) 'createTime': createTime!,
      if (displayName != null) 'displayName': displayName!,
      if (forwardSshConnectivity != null)
        'forwardSshConnectivity': forwardSshConnectivity!,
      if (gcsProfile != null) 'gcsProfile': gcsProfile!,
      if (labels != null) 'labels': labels!,
      if (mysqlProfile != null) 'mysqlProfile': mysqlProfile!,
      if (name != null) 'name': name!,
      if (noConnectivity != null) 'noConnectivity': noConnectivity!,
      if (oracleProfile != null) 'oracleProfile': oracleProfile!,
      if (privateConnectivity != null)
        'privateConnectivity': privateConnectivity!,
      if (staticServiceIpConnectivity != null)
        'staticServiceIpConnectivity': staticServiceIpConnectivity!,
      if (updateTime != null) 'updateTime': updateTime!,
    };