when<TResult extends Object?> method

  1. @optionalTypeArgs
TResult when<TResult extends Object?>({
  1. required TResult getContacts(
    1. bool openSettings,
    2. bool getIfHasPermission
    ),
  2. required TResult setSearchText(
    1. String searchText
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult when<TResult extends Object?>({
  required TResult Function(bool openSettings, bool getIfHasPermission)
      getContacts,
  required TResult Function(String searchText) setSearchText,
}) =>
    throw _privateConstructorUsedError;