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,
        startTime: json_.containsKey('startTime')
            ? TimeOfDay.fromJson(
                json_['startTime'] as core.Map<core.String, core.dynamic>)
            : null,
      );