toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (enableAutoReply != null) 'enableAutoReply': enableAutoReply!,
      if (endTime != null) 'endTime': endTime!,
      if (responseBodyHtml != null) 'responseBodyHtml': responseBodyHtml!,
      if (responseBodyPlainText != null)
        'responseBodyPlainText': responseBodyPlainText!,
      if (responseSubject != null) 'responseSubject': responseSubject!,
      if (restrictToContacts != null)
        'restrictToContacts': restrictToContacts!,
      if (restrictToDomain != null) 'restrictToDomain': restrictToDomain!,
      if (startTime != null) 'startTime': startTime!,
    };