TimeWindow.fromJson constructor

TimeWindow.fromJson(
  1. Map json_
)

Implementation

TimeWindow.fromJson(core.Map json_)
    : this(
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        maintenanceExclusionOptions:
            json_.containsKey('maintenanceExclusionOptions')
                ? MaintenanceExclusionOptions.fromJson(
                    json_['maintenanceExclusionOptions']
                        as core.Map<core.String, core.dynamic>)
                : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
      );