DeleteOptions class

Defines the delete options for an ActivityRecord delete process.

Constructors

DeleteOptions({DateTime? startTime, DateTime? endTime, List<DataType>? dataTypes, List<DataCollector>? dataCollectors, List<ActivityRecord>? activityRecords, bool? deleteAllActivityRecords, bool? deleteAllData, TimeUnit timeUnit = TimeUnit.MILLISECONDS})

Properties

activityRecords List<ActivityRecord>?
List of activity records to be deleted.
getter/setter pair
dataCollectors List<DataCollector>?
List of data collectors whose data is to be deleted.
getter/setter pair
dataTypes List<DataType>?
List of data types whose data is to be deleted.
getter/setter pair
deleteAllActivityRecords bool?
Should be set to true if all the activity records are marked for deletion.
getter/setter pair
deleteAllData bool?
Should be set to true if all the data types are marked for deletion.
getter/setter pair
endTime DateTime?
End time for data to be deleted.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime DateTime?
Start time for data to be deleted.
getter/setter pair
timeUnit TimeUnit
TimeUnit for data to be deleted.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setTimeInterval(DateTime startTime, DateTime endTime) → void
Sets the start time and end time for data to be deleted.
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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