MaintenanceWindow.fromJson constructor

MaintenanceWindow.fromJson(
  1. Map _json
)

Implementation

MaintenanceWindow.fromJson(core.Map _json)
    : this(
        day: _json.containsKey('day') ? _json['day'] as core.int : null,
        hour: _json.containsKey('hour') ? _json['hour'] as core.int : null,
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        updateTrack: _json.containsKey('updateTrack')
            ? _json['updateTrack'] as core.String
            : null,
      );