maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult labelerView(
    1. LabelerView data
    )?,
  2. TResult labelerViewDetailed(
    1. LabelerViewDetailed data
    )?,
  3. TResult unknown(
    1. Map<String, dynamic> data
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(LabelerView data)? labelerView,
  TResult Function(LabelerViewDetailed data)? labelerViewDetailed,
  TResult Function(Map<String, dynamic> data)? unknown,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;