toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final accounts = this.accounts;
  final organizationalUnitIds = this.organizationalUnitIds;
  return {
    if (accounts != null) 'Accounts': accounts,
    if (organizationalUnitIds != null)
      'OrganizationalUnitIds': organizationalUnitIds,
  };
}