copyWith method

InvestType copyWith({
  1. String? id,
  2. String? type,
  3. String? name,
  4. String? customDate,
  5. String? createdAt,
  6. String? isActive,
  7. String? isDeleted,
  8. String? sort,
  9. String? icon,
  10. String? masterUserId,
})

Implementation

InvestType copyWith({  String? id,
  String? type,
  String? name,
  String? customDate,
  String? createdAt,
  String? isActive,
  String? isDeleted,
  String? sort,
  String? icon,
  String? masterUserId,
}) => InvestType(  id: id ?? _id,
  type: type ?? _type,
  name: name ?? _name,
  customDate: customDate ?? _customDate,
  createdAt: createdAt ?? _createdAt,
  isActive: isActive ?? _isActive,
  isDeleted: isDeleted ?? _isDeleted,
  sort: sort ?? _sort,
  icon: icon ?? _icon,
  masterUserId: masterUserId ?? _masterUserId,
);