toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'attachments'] = this.attachments;
  if (this.message != null) {
    json[r'message'] = this.message;
  } else {
    json[r'message'] = null;
  }
  if (this.setIgnoreMemberCountWarning != null) {
    json[r'setIgnoreMemberCountWarning'] = this.setIgnoreMemberCountWarning;
  } else {
    json[r'setIgnoreMemberCountWarning'] = null;
  }
  return json;
}