core.Map<core.String, core.dynamic> toJson() { final fromId = this.fromId; final toId = this.toId; return {'fromId': ?fromId, 'toId': ?toId}; }