copyWith method

ImageFileMessageContent copyWith({
  1. ImageFile? imageFile,
})

Creates a copy with the given fields replaced.

Implementation

ImageFileMessageContent copyWith({ImageFile? imageFile}) {
  return ImageFileMessageContent(imageFile: imageFile ?? this.imageFile);
}