fromJson method
Implementation
@override
PurchasesErrorCode fromJson(int json) {
if (json >= PurchasesErrorCode.values.length) {
return PurchasesErrorCode.unknownError;
}
return PurchasesErrorCode.values[json];
}
@override
PurchasesErrorCode fromJson(int json) {
if (json >= PurchasesErrorCode.values.length) {
return PurchasesErrorCode.unknownError;
}
return PurchasesErrorCode.values[json];
}