factory RelativeLineTo.fromJson(Map<String, dynamic> data) { return RelativeLineTo( data['dx'] as double, data['dy'] as double, ); }