copyWith method

FileResponseEntity copyWith({
  1. String? fileName,
  2. String? imgUrl,
})

Implementation

FileResponseEntity copyWith({String? fileName, String? imgUrl}) =>
    FileResponseEntity(
      fileName: fileName ?? this.fileName,
      imgUrl: imgUrl ?? this.imgUrl,
    );