decode static method

BannerError decode(
  1. Object result
)

Implementation

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