mapOrNull<TResult extends Object?> method
TResult?
mapOrNull<TResult extends Object?>({
- TResult? progress(
- AmityUploadInProgress value
- TResult? complete(
- AmityUploadComplete value
- TResult? error(
- AmityUploadError value
- TResult? cancel(
- AmityUploadCancel value
inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult? Function(AmityUploadInProgress<T> value)? progress,
TResult? Function(AmityUploadComplete<T> value)? complete,
TResult? Function(AmityUploadError<T> value)? error,
TResult? Function(AmityUploadCancel<T> value)? cancel,
}) =>
throw _privateConstructorUsedError;