DurationDTO class

Constructors

DurationDTO({String? friendly, int? millis})
DurationDTO.fromJson(Map<String, Object?> json)
factory

Properties

friendly String?
Duration in a user-friendly text format.
final
hashCode int
The hash code for this object.
no setterinherited
millis int?
Duration in milliseconds.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? friendly, int? millis}) DurationDTO
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited