MaintenanceWindow.fromJson constructor

MaintenanceWindow.fromJson(
  1. Map _json
)

Implementation

MaintenanceWindow.fromJson(core.Map _json)
    : this(
        dayOfWeek: _json.containsKey('dayOfWeek')
            ? _json['dayOfWeek'] as core.String
            : null,
        hourOfDay: _json.containsKey('hourOfDay')
            ? _json['hourOfDay'] as core.int
            : null,
      );