TimeLine class
A data that represents a timeline of widgets.
Constructors
-
TimeLine({required String type, required String id, required List<
AppWidgetData> data}) - TimeLine.fromJson(Map json)
-
factory
Properties
-
data
→ List<
AppWidgetData> -
A list of widgets that will be shown on the timeline.
At least one widget must have the time of the current time.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
Id of the timeline.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
This will be shown on the iOS when the user long press on the widget.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited