when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult setLogPriority(
    1. String status,
    2. int timestamp
    ),
  2. required TResult getLogs(
    1. List<Map<String, dynamic>> logs,
    2. int timestamp
    ),
  3. required TResult clearLogs(
    1. String status,
    2. int timestamp
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function(String status, int timestamp) setLogPriority,
  required TResult Function(List<Map<String, dynamic>> logs, int timestamp) getLogs,
  required TResult Function(String status, int timestamp) clearLogs,
}) =>
    throw _privateConstructorUsedError;