ChapterWithContentResponseModel class
- Available extensions
- Annotations
-
- @JsonSerializable.new(explicitToJson: true)
Constructors
- ChapterWithContentResponseModel({required String chapterId, required String name, dynamic lastConversionDateUnix, dynamic conversionProgress, required bool canBeDownloaded, required ChapterWithContentResponseModelState state, dynamic statistics, dynamic lastConversionError, required ChapterContentResponseModel content})
-
const
-
ChapterWithContentResponseModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- canBeDownloaded → bool
-
final
- chapterId → String
-
final
- content → ChapterContentResponseModel
-
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 → ChapterWithContentResponseModelState
-
final
- statistics → dynamic
-
final
Methods
-
copyWith(
{String? chapterId, String? name, dynamic lastConversionDateUnix, dynamic conversionProgress, bool? canBeDownloaded, ChapterWithContentResponseModelState? state, dynamic statistics, dynamic lastConversionError, ChapterContentResponseModel? content}) → ChapterWithContentResponseModel -
Available on ChapterWithContentResponseModel, provided by the $ChapterWithContentResponseModelExtension extension
-
copyWithWrapped(
{Wrapped< String> ? chapterId, Wrapped<String> ? name, Wrapped? lastConversionDateUnix, Wrapped? conversionProgress, Wrapped<bool> ? canBeDownloaded, Wrapped<ChapterWithContentResponseModelState> ? state, Wrapped? statistics, Wrapped? lastConversionError, Wrapped<ChapterContentResponseModel> ? content}) → ChapterWithContentResponseModel -
Available on ChapterWithContentResponseModel, provided by the $ChapterWithContentResponseModelExtension 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 ChapterWithContentResponseModel Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(ChapterWithContentResponseModel instance)