Map<String, dynamic> toJson() { final json = <String, dynamic>{}; json[r'dir'] = this.dir; json[r'field'] = this.field; return json; }