MythicKeystonePeriodResponse class
Represents a Mythic Keystone period response.
This class encapsulates information about a specific Mythic Keystone period, including its ID, start and end times, and associated links.
- Annotations
-
- @immutable
Constructors
- MythicKeystonePeriodResponse({required Links links, required int id, required DateTime startTime, required DateTime endTime})
-
Creates an instance of MythicKeystonePeriodResponse.
const
-
MythicKeystonePeriodResponse.fromJson(Map<
String, dynamic> json) -
Creates an instance of MythicKeystonePeriodResponse from a JSON map.
factory
- MythicKeystonePeriodResponse.fromRawJson(String str)
-
Creates an instance of MythicKeystonePeriodResponse from a JSON string.
factory
Properties
- endTime → DateTime
-
The end time of the Mythic Keystone period.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → int
-
The unique identifier of the Mythic Keystone period.
final
- links → Links
-
Links associated with the Mythic Keystone period response.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → DateTime
-
The start time of the Mythic Keystone period.
final
Methods
-
copyWith(
{Links? links, int? id, DateTime? startTime, DateTime? endTime}) → MythicKeystonePeriodResponse - Returns a copy of this instance with the given fields replaced by new values.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this instance to a JSON map.
-
toRawJson(
) → String - Converts this instance to a JSON string.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override