when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>(
  1. TResult $default(
    1. String matchId,
    2. bool authoritative,
    3. String label,
    4. int size,
    5. int? tickRate,
    6. String? handlerName,
    ), {
  2. required TResult realtime(
    1. String matchId,
    2. bool authoritative,
    3. String label,
    4. int size,
    5. int? tickRate,
    6. String? handlerName,
    7. List<UserPresence> presences,
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>(
  TResult Function(String matchId, bool authoritative, String label, int size,
          int? tickRate, String? handlerName)
      $default, {
  required TResult Function(
          String matchId,
          bool authoritative,
          String label,
          int size,
          int? tickRate,
          String? handlerName,
          List<UserPresence> presences)
      realtime,
}) =>
    throw _privateConstructorUsedError;