whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({})
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(bool field0)? bool,
TResult? Function(String field0)? string,
TResult? Function(List<MyValue> field0)? array,
}) =>
throw _privateConstructorUsedError;