toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (alloydb != null) 'alloydb': alloydb!,
      if (cloudsql != null) 'cloudsql': cloudsql!,
      if (createTime != null) 'createTime': createTime!,
      if (displayName != null) 'displayName': displayName!,
      if (error != null) 'error': error!,
      if (labels != null) 'labels': labels!,
      if (mysql != null) 'mysql': mysql!,
      if (name != null) 'name': name!,
      if (oracle != null) 'oracle': oracle!,
      if (postgresql != null) 'postgresql': postgresql!,
      if (provider != null) 'provider': provider!,
      if (sqlserver != null) 'sqlserver': sqlserver!,
      if (state != null) 'state': state!,
      if (updateTime != null) 'updateTime': updateTime!,
    };