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