toJson method

Map<String, dynamic> toJson()

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,
  };
}