GetChaptersResponseModel class

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

Constructors

GetChaptersResponseModel({required List<ChapterResponseModel> chapters})
const
GetChaptersResponseModel.fromJson(Map<String, dynamic> json)
factory

Properties

chapters List<ChapterResponseModel>
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({List<ChapterResponseModel>? chapters}) GetChaptersResponseModel

Available on GetChaptersResponseModel, provided by the $GetChaptersResponseModelExtension extension

copyWithWrapped({Wrapped<List<ChapterResponseModel>>? chapters}) GetChaptersResponseModel

Available on GetChaptersResponseModel, provided by the $GetChaptersResponseModelExtension 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 GetChaptersResponseModel Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(GetChaptersResponseModel instance)