maybeWhen<TResult extends Object?> method

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

Implementation

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