toJson method

  1. @override
int toJson(
  1. PurchasesErrorCode errorCode
)

Implementation

@override
int toJson(PurchasesErrorCode errorCode) =>
    PurchasesErrorCode.values.indexOf(errorCode);