storeFromJson function
Store
storeFromJson(
- dynamic value
)
Implementation
Store storeFromJson(dynamic value) {
switch (value) {
case 'APP_STORE':
return Store.appStore;
case 'MAC_APP_STORE':
return Store.macAppStore;
case 'PLAY_STORE':
return Store.playStore;
case 'STRIPE':
return Store.stripe;
case 'PROMOTIONAL':
return Store.promotional;
case 'AMAZON':
return Store.amazon;
case 'RC_BILLING':
return Store.rcBilling;
case 'PADDLE':
return Store.paddle;
case 'EXTERNAL':
return Store.externalStore;
case null:
return Store.unknownStore;
default:
return Store.unknownStore;
}
}