decode static method

Attribute decode(
  1. Object result
)

Implementation

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