RestModePeriodModel class

Available extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

RestModePeriodModel.new({required String id, dynamic endDay, dynamic endTime, required List<RestModeEpisode> episodes, required DateTime startDay, required dynamic startTime})
const
RestModePeriodModel.fromJson(Map<String, dynamic> json)
factory

Properties

endDay → dynamic
final
endTime → dynamic
final
episodes List<RestModeEpisode>
final
hashCode int
The hash code for this object.
no setteroverride
id String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startDay DateTime
final
startTime → dynamic
final

Methods

copyWith({String? id, dynamic endDay, dynamic endTime, List<RestModeEpisode>? episodes, DateTime? startDay, dynamic startTime}) RestModePeriodModel

Available on RestModePeriodModel, provided by the $RestModePeriodModelExtension extension

copyWithWrapped({Wrapped<String>? id, Wrapped? endDay, Wrapped? endTime, Wrapped<List<RestModeEpisode>>? episodes, Wrapped<DateTime>? startDay, Wrapped? startTime}) RestModePeriodModel

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