decode static method

Implementation

static FlutterPurchaseAvailability decode(Object result) {
  result as List<Object?>;
  return FlutterPurchaseAvailability(
    availability: result[0]! as bool,
    cause: result[1] as String?,
  );
}