Capture class

One background screenshot and why it was taken.

Constructors

Capture({required String path, required DateTime takenAt, required String trigger, String? lifecycle, int? width, int? height})
const

Properties

age → Duration
no setter
hashCode → int
The hash code for this object.
no setterinherited
height → int?
final
lifecycle → String?
App lifecycle at capture time, when known.
final
path → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
takenAt → DateTime
final
trigger → String
lifecycle (the app left resumed), scene (get_scene), action (after a gesture) or explicit (device op:screenshot).
final
width → int?
final

Methods

describe() → String
1206×2622 px, 1.2s ago, trigger lifecycle.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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