BGAppRefreshTaskRequest class
A request to launch your app in the background to execute a short refresh task.
- Inheritance
-
- Object
- BGTaskRequest
- BGAppRefreshTaskRequest
- Annotations
Constructors
-
BGAppRefreshTaskRequest(String identifier, {DateTime? earliestBeginDate, Map<
String, dynamic> ? input}) -
Instantiates a BGAppRefreshTaskRequest with the task
identifier
and an optionalearliestBeginDate
.const
Properties
- earliestBeginDate → DateTime?
-
The earliest date and time at which to run the task.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier → String
-
The identifier of the task associated with the request.
finalinherited
-
input
→ Map<
String, dynamic> ? -
Input data of the task.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited