toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  _json['subOrganizationId'] = subOrganizationId;
  if (wallet != null) {
    _json['wallet'] = wallet?.toJson();
  }
  if (rootUserIds != null) {
    _json['rootUserIds'] = rootUserIds;
  }
  return _json;
}