toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (activationPolicy != null) 'activationPolicy': activationPolicy!,
      if (autoStorageIncrease != null)
        'autoStorageIncrease': autoStorageIncrease!,
      if (availabilityType != null) 'availabilityType': availabilityType!,
      if (cmekKeyName != null) 'cmekKeyName': cmekKeyName!,
      if (collation != null) 'collation': collation!,
      if (dataCacheConfig != null) 'dataCacheConfig': dataCacheConfig!,
      if (dataDiskSizeGb != null) 'dataDiskSizeGb': dataDiskSizeGb!,
      if (dataDiskType != null) 'dataDiskType': dataDiskType!,
      if (databaseFlags != null) 'databaseFlags': databaseFlags!,
      if (databaseVersion != null) 'databaseVersion': databaseVersion!,
      if (edition != null) 'edition': edition!,
      if (ipConfig != null) 'ipConfig': ipConfig!,
      if (rootPassword != null) 'rootPassword': rootPassword!,
      if (rootPasswordSet != null) 'rootPasswordSet': rootPasswordSet!,
      if (secondaryZone != null) 'secondaryZone': secondaryZone!,
      if (sourceId != null) 'sourceId': sourceId!,
      if (storageAutoResizeLimit != null)
        'storageAutoResizeLimit': storageAutoResizeLimit!,
      if (tier != null) 'tier': tier!,
      if (userLabels != null) 'userLabels': userLabels!,
      if (zone != null) 'zone': zone!,
    };