ChromeOsDeviceSystemRamFreeReports.fromJson constructor

ChromeOsDeviceSystemRamFreeReports.fromJson(
  1. Map json_
)

Implementation

ChromeOsDeviceSystemRamFreeReports.fromJson(core.Map json_)
    : this(
        reportTime: json_.containsKey('reportTime')
            ? core.DateTime.parse(json_['reportTime'] as core.String)
            : null,
        systemRamFreeInfo: json_.containsKey('systemRamFreeInfo')
            ? (json_['systemRamFreeInfo'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );