maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult labels(
    1. Labels data
    )?,
  2. TResult info(
    1. Info data
    )?,
  3. TResult unknown(
    1. Map<String, dynamic> data
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(Labels data)? labels,
  TResult Function(Info data)? info,
  TResult Function(Map<String, dynamic> data)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;