static IntMsg decode(Object result) { result as List<Object?>; return IntMsg( value: result[0] as int?, ); }