static CGPoint decode(Object result) { result as List<Object?>; return CGPoint( x: result[0]! as double, y: result[1]! as double, ); }