optional<T> static method
Implementation
static OptionalInput<T> optional<T>({
T? seedValue,
required String semantics,
bool sync = true,
bool isBehavior = true,
bool printLog = true,
bool acceptEmpty = true,
bool isDistinct = false,
T? Function()? onReset,
PersistConfig<T>? persistConfig,
}) {
return OptionalInput<T>(
semantics: semantics,
seedValue: seedValue,
sync: sync,
isBehavior: isBehavior,
printLog: printLog,
acceptEmpty: acceptEmpty,
isDistinct: isDistinct,
onReset: onReset,
persistConfig: persistConfig,
);
}