ChapterResponseModel class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

ChapterResponseModel({required String chapterId, required String name, dynamic lastConversionDateUnix, dynamic conversionProgress, required bool canBeDownloaded, required ChapterResponseModelState state, dynamic statistics, dynamic lastConversionError})
const
ChapterResponseModel.fromJson(Map<String, dynamic> json)
factory

Properties

canBeDownloaded bool
final
chapterId String
final
conversionProgress → dynamic
final
hashCode int
The hash code for this object.
no setteroverride
lastConversionDateUnix → dynamic
final
lastConversionError → dynamic
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state ChapterResponseModelState
final
statistics → dynamic
final

Methods

copyWith({String? chapterId, String? name, dynamic lastConversionDateUnix, dynamic conversionProgress, bool? canBeDownloaded, ChapterResponseModelState? state, dynamic statistics, dynamic lastConversionError}) ChapterResponseModel

Available on ChapterResponseModel, provided by the $ChapterResponseModelExtension extension

copyWithWrapped({Wrapped<String>? chapterId, Wrapped<String>? name, Wrapped? lastConversionDateUnix, Wrapped? conversionProgress, Wrapped<bool>? canBeDownloaded, Wrapped<ChapterResponseModelState>? state, Wrapped? statistics, Wrapped? lastConversionError}) ChapterResponseModel

Available on ChapterResponseModel, provided by the $ChapterResponseModelExtension extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Constants

fromJsonFactory → const ChapterResponseModel Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(ChapterResponseModel instance)