when<TResult extends Object?> method

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

Implementation

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