BackgroundTasksResult constructor

BackgroundTasksResult({
  1. List<BackgroundTaskReport>? tasks,
  2. bool? timedOut,
  3. String? note,
})

Implementation

BackgroundTasksResult({
  List<BackgroundTaskReport>? tasks,
  bool? timedOut,
  String? note,
}) {
  _json = {
    'tasks': ?tasks?.map((e) => e.toJson()).toList(),
    'timedOut': ?timedOut,
    'note': ?note,
  };
}