maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult listViewBasic(
    1. ListViewBasic data
    )?,
  2. TResult listView(
    1. ListView data
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(ListViewBasic data)? listViewBasic,
  TResult Function(ListView data)? listView,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;