OneTimeLinkInfo class
Represents a one-time download link.
Constructors
- OneTimeLinkInfo.new({required String linkId, required FileInfo file, required String url, required int state, required String stateLabel, String? callbackUrl, required bool notify, required DateTime created, required bool downloaded})
-
OneTimeLinkInfo.fromJson(Map<
String, dynamic> json) -
Converts a JSON map into a OneTimeLinkInfo object.
factory
Properties
- callbackUrl → String?
-
final
- created → DateTime
-
final
- downloaded → bool
-
final
- file → FileInfo
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- linkId → String
-
final
- notify → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → int
-
final
- stateLabel → String
-
final
- url → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited