copyWith abstract method

  1. @useResult
PlanInfo copyWith({
  1. String? productId,
  2. String? name,
  3. String? displayName,
  4. String? description,
  5. int? trialLength,
  6. DateTime? trialEndDate,
  7. int? projectsLimit,
  8. List<ProjectProductInfo>? projectProductInfo,
})

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

Implementation

@_i1.useResult
PlanInfo copyWith({
  String? productId,
  String? name,
  String? displayName,
  String? description,
  int? trialLength,
  DateTime? trialEndDate,
  int? projectsLimit,
  List<_i2.ProjectProductInfo>? projectProductInfo,
});