ChromeOsDeviceActiveTimeRanges.fromJson constructor

ChromeOsDeviceActiveTimeRanges.fromJson(
  1. Map json_
)

Implementation

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