decode static method

RewardedError decode(
  1. Object result
)

Implementation

static RewardedError decode(Object result) {
  result as List<Object?>;
  return RewardedError(
    code: result[0]! as int,
    description: result[1]! as String,
  );
}