ChromeOsDeviceScreenshotFiles.fromJson constructor

ChromeOsDeviceScreenshotFiles.fromJson(
  1. Map json_
)

Implementation

ChromeOsDeviceScreenshotFiles.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? core.DateTime.parse(json_['createTime'] as core.String)
            : null,
        downloadUrl: json_.containsKey('downloadUrl')
            ? json_['downloadUrl'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );