toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var accountId = this.accountId;
  var contextId = this.contextId;
  var type = this.type;
  var userFilter = this.userFilter;

  final json = <String, Object?>{};
  json[r'accountId'] = accountId;
  json[r'contextId'] = contextId;
  json[r'type'] = type;
  json[r'userFilter'] = userFilter.toJson();
  return json;
}