copyWith abstract method

  1. @useResult
DatabaseResource copyWith({
  1. int? id,
  2. String? cloudCapsuleId,
  3. String? providerId,
  4. DatabaseProvider? provider,
  5. DatabaseConnection? connection,
  6. DatabaseScaling? scaling,
  7. DatabaseQuota? quota,
})

Returns a shallow copy of this DatabaseResource with some or all fields replaced by the given arguments.

Implementation

@_i1.useResult
DatabaseResource copyWith({
  int? id,
  String? cloudCapsuleId,
  String? providerId,
  _i2.DatabaseProvider? provider,
  _i3.DatabaseConnection? connection,
  _i4.DatabaseScaling? scaling,
  _i5.DatabaseQuota? quota,
});