AddChapterResponseModel class
- Available extensions
- Annotations
-
- @JsonSerializable.new(explicitToJson: true)
Constructors
- AddChapterResponseModel({required ChapterWithContentResponseModel chapter})
-
const
-
AddChapterResponseModel.fromJson(Map<
String, dynamic> json) -
factory
Properties
- chapter → ChapterWithContentResponseModel
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{ChapterWithContentResponseModel? chapter}) → AddChapterResponseModel -
Available on AddChapterResponseModel, provided by the $AddChapterResponseModelExtension extension
-
copyWithWrapped(
{Wrapped< ChapterWithContentResponseModel> ? chapter}) → AddChapterResponseModel -
Available on AddChapterResponseModel, provided by the $AddChapterResponseModelExtension 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 AddChapterResponseModel Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(AddChapterResponseModel instance)