map<TResult extends Object?> method
TResult
map<TResult extends Object?>({
- required TResult backdrop(),
- required TResult model(),
- required TResult symbol(),
Implementation
TResult map<TResult extends Object?>({
required TResult Function(UpgradedGiftAttributeIdBackdrop value) backdrop,
required TResult Function(UpgradedGiftAttributeIdModel value) model,
required TResult Function(UpgradedGiftAttributeIdSymbol value) symbol,
}) {
switch (getConstructor()) {
case UpgradedGiftAttributeIdBackdrop.constructor:
return backdrop.call(this as UpgradedGiftAttributeIdBackdrop);
case UpgradedGiftAttributeIdModel.constructor:
return model.call(this as UpgradedGiftAttributeIdModel);
case UpgradedGiftAttributeIdSymbol.constructor:
return symbol.call(this as UpgradedGiftAttributeIdSymbol);
}
throw StateError('not handled type Generator');
}