Map<String, dynamic> toJson() { return { 'meth': meth, 'val': val, 'resp': resp, 'done': done, 'params': params, }; }