decode static method

NativeError decode(
  1. Object result
)

Implementation

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