toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (databaseVersion != null) 'databaseVersion': databaseVersion!,
      if (encryptionConfig != null) 'encryptionConfig': encryptionConfig!,
      if (initialUser != null) 'initialUser': initialUser!,
      if (labels != null) 'labels': labels!,
      if (primaryInstanceSettings != null)
        'primaryInstanceSettings': primaryInstanceSettings!,
      if (vpcNetwork != null) 'vpcNetwork': vpcNetwork!,
    };