toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var canAddRequestParticipants = this.canAddRequestParticipants;
  var canRaiseOnBehalfOf = this.canRaiseOnBehalfOf;
  var requestTypeFields = this.requestTypeFields;

  final json = <String, Object?>{};
  json[r'canAddRequestParticipants'] = canAddRequestParticipants;
  json[r'canRaiseOnBehalfOf'] = canRaiseOnBehalfOf;
  json[r'requestTypeFields'] =
      requestTypeFields.map((i) => i.toJson()).toList();
  return json;
}