TaskNotification class final

Notification specification for a Task

body and title may contain special strings to substitute display values: {filename] to insert the filename {progress} to insert progress in % {networkSpeed} to insert the network speed in MB/s or kB/s, or '--' if N/A {timeRemaining} to insert the estimated time remaining to complete the task in HH:MM:SS or MM:SS or --:-- if N/A

Actual appearance of notification is dependent on the platform, e.g. on iOS {progress} is not available and ignored

Constructors

TaskNotification(String title, String body)
const

Properties

body String
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Return JSON Map representing object
toString() String
A string representation of this object.
inherited

Operators

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