Map<String, dynamic> toJson() { final gid = this.gid; final uid = this.uid; return { if (gid != null) 'Gid': gid, if (uid != null) 'Uid': uid, }; }