VacationSettings.fromJson constructor

VacationSettings.fromJson(
  1. Map json_
)

Implementation

VacationSettings.fromJson(core.Map json_)
    : this(
        enableAutoReply: json_.containsKey('enableAutoReply')
            ? json_['enableAutoReply'] as core.bool
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        responseBodyHtml: json_.containsKey('responseBodyHtml')
            ? json_['responseBodyHtml'] as core.String
            : null,
        responseBodyPlainText: json_.containsKey('responseBodyPlainText')
            ? json_['responseBodyPlainText'] as core.String
            : null,
        responseSubject: json_.containsKey('responseSubject')
            ? json_['responseSubject'] as core.String
            : null,
        restrictToContacts: json_.containsKey('restrictToContacts')
            ? json_['restrictToContacts'] as core.bool
            : null,
        restrictToDomain: json_.containsKey('restrictToDomain')
            ? json_['restrictToDomain'] as core.bool
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
      );