copyWith method

CourseImageState copyWith({
  1. Uint8List? bytes,
  2. bool? failed,
})

Implementation

CourseImageState copyWith({Uint8List? bytes, bool? failed}) =>
    CourseImageState(
      bytes: bytes ?? this.bytes,
      failed: failed ?? this.failed,
    );