copyWith method
InvestType
copyWith(
{ - String? id,
- String? type,
- String? name,
- String? customDate,
- String? createdAt,
- String? isActive,
- String? isDeleted,
- String? sort,
- String? icon,
- 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,
);