copyWith method
Implementation
ModernFormTextAndImageModel copyWith({
String? text,
String? description,
String? imageUrl,
}) {
return ModernFormTextAndImageModel(
text: text ?? this.text,
description: description ?? this.description,
imageUrl: imageUrl ?? this.imageUrl,
);
}