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