UpcomingMaintenance.fromJson constructor

UpcomingMaintenance.fromJson(
  1. Map json_
)

Implementation

UpcomingMaintenance.fromJson(core.Map json_)
    : this(
        canReschedule: json_.containsKey('canReschedule')
            ? json_['canReschedule'] as core.bool
            : null,
        latestWindowStartTime: json_.containsKey('latestWindowStartTime')
            ? json_['latestWindowStartTime'] as core.String
            : null,
        maintenanceStatus: json_.containsKey('maintenanceStatus')
            ? json_['maintenanceStatus'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        windowEndTime: json_.containsKey('windowEndTime')
            ? json_['windowEndTime'] as core.String
            : null,
        windowStartTime: json_.containsKey('windowStartTime')
            ? json_['windowStartTime'] as core.String
            : null,
      );