copyWith method

ModernFormBottomSheetProfileModel copyWith({
  1. String? imageUrl,
  2. String? name,
  3. String? description,
  4. dynamic returnValue,
})

Implementation

ModernFormBottomSheetProfileModel copyWith({
  String? imageUrl,
  String? name,
  String? description,
  dynamic returnValue,
}) {
  return ModernFormBottomSheetProfileModel(
    imageUrl: imageUrl ?? this.imageUrl,
    name: name ?? this.name,
    description: description ?? this.description,
    returnValue: returnValue ?? this.returnValue,
  );
}