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