ChromeOsDeviceActiveTimeRanges.fromJson constructor

ChromeOsDeviceActiveTimeRanges.fromJson(
  1. Map json_
)

Implementation

ChromeOsDeviceActiveTimeRanges.fromJson(core.Map json_)
    : this(
        activeTime: json_.containsKey('activeTime')
            ? json_['activeTime'] as core.int
            : null,
        date: json_.containsKey('date')
            ? core.DateTime.parse(json_['date'] as core.String)
            : null,
      );