AriaDetail class
- Available extensions
- Annotations
-
- @freezed
Constructors
-
AriaDetail({@JsonKey(name: 'bitfield') @Default('') String bitfield, @JsonKey(name: 'completedLength') @Default('') String completedLength, @JsonKey(name: 'connections') @Default('') String connections, @JsonKey(name: 'dir') @Default('') String dir, @JsonKey(name: 'downloadSpeed') @Default('') String downloadSpeed, @JsonKey(name: 'files') @Default([]) List<
Files> files, @JsonKey(name: 'gid') @Default('') String gid, @JsonKey(name: 'numPieces') @Default('') String numPieces, @JsonKey(name: 'pieceLength') @Default('') String pieceLength, @JsonKey(name: 'status') @Default('') String status, @JsonKey(name: 'totalLength') @Default('') String totalLength, @JsonKey(name: 'uploadLength') @Default('') String uploadLength, @JsonKey(name: 'uploadSpeed') @Default('') String uploadSpeed}) -
constfactory
-
AriaDetail.fromJson(Map<
String, dynamic> json) -
factory
Properties
- bitfield → String
-
no setterinherited
- completedLength → String
-
no setterinherited
- completedLengthDouble → double
-
Available on AriaDetail, provided by the AriaDetailEx extension
no setter - connections → String
-
no setterinherited
-
copyWith
→ $AriaDetailCopyWith<
AriaDetail> -
Create a copy of AriaDetail
with the given fields replaced by the non-null parameter values.
no setterinherited
- dir → String
-
no setterinherited
- downloadSpeed → String
-
no setterinherited
- downloadSpeedDouble → double
-
Available on AriaDetail, provided by the AriaDetailEx extension
no setter -
files
→ List<
Files> -
no setterinherited
- gid → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- numPieces → String
-
no setterinherited
- percentage → double
-
Available on AriaDetail, provided by the AriaDetailEx extension
no setter - pieceLength → String
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
no setterinherited
- totalLength → String
-
no setterinherited
- totalLengthDouble → double
-
Available on AriaDetail, provided by the AriaDetailEx extension
no setter - uploadLength → String
-
no setterinherited
- uploadSpeed → String
-
no setterinherited
- uploadSpeedDouble → double
-
Available on AriaDetail, provided by the AriaDetailEx extension
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this AriaDetail to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited