AppStoreVersionAttributesDtoPatterns extension
Adds pattern-matching-related methods to AppStoreVersionAttributesDto.
Methods
-
map<
TResult extends Object?> (TResult $default(_AppStoreVersionAttributesDto value)) → TResult -
Available on AppStoreVersionAttributesDto, provided by the AppStoreVersionAttributesDtoPatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_AppStoreVersionAttributesDto value)?) → TResult? -
Available on AppStoreVersionAttributesDto, provided by the AppStoreVersionAttributesDtoPatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> (TResult $default(_AppStoreVersionAttributesDto value)?, {required TResult orElse()}) → TResult -
Available on AppStoreVersionAttributesDto, provided by the AppStoreVersionAttributesDtoPatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> (TResult $default(ApplePlatform platform, String versionString, AppVersionState appVersionState, AppStoreReleaseType releaseType)?, {required TResult orElse()}) → TResult -
Available on AppStoreVersionAttributesDto, provided by the AppStoreVersionAttributesDtoPatterns extension
A variant ofwhenthat fallback to anorElsecallback. -
when<
TResult extends Object?> (TResult $default(ApplePlatform platform, String versionString, AppVersionState appVersionState, AppStoreReleaseType releaseType)) → TResult -
Available on AppStoreVersionAttributesDto, provided by the AppStoreVersionAttributesDtoPatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(ApplePlatform platform, String versionString, AppVersionState appVersionState, AppStoreReleaseType releaseType)?) → TResult? -
Available on AppStoreVersionAttributesDto, provided by the AppStoreVersionAttributesDtoPatterns extension
A variant ofwhenthat fallback to returningnull