decode static method

User decode(
  1. Object result
)

Implementation

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