toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (adminPassword != null) 'adminPassword': adminPassword!,
  if (cidr != null) 'cidr': cidr!,
  if (createTime != null) 'createTime': createTime!,
  if (database != null) 'database': database!,
  if (disasterRecoverySupportedLocations != null)
    'disasterRecoverySupportedLocations': disasterRecoverySupportedLocations!,
  if (displayName != null) 'displayName': displayName!,
  if (entitlementId != null) 'entitlementId': entitlementId!,
  if (labels != null) 'labels': labels!,
  if (name != null) 'name': name!,
  if (network != null) 'network': network!,
  if (odbNetwork != null) 'odbNetwork': odbNetwork!,
  if (odbSubnet != null) 'odbSubnet': odbSubnet!,
  if (peerAutonomousDatabases != null)
    'peerAutonomousDatabases': peerAutonomousDatabases!,
  if (properties != null) 'properties': properties!,
  if (sourceConfig != null) 'sourceConfig': sourceConfig!,
};