DirectoryChromeosdevicesCommand.fromJson constructor

DirectoryChromeosdevicesCommand.fromJson(
  1. Map json_
)

Implementation

DirectoryChromeosdevicesCommand.fromJson(core.Map json_)
    : this(
        commandExpireTime: json_.containsKey('commandExpireTime')
            ? json_['commandExpireTime'] as core.String
            : null,
        commandId: json_.containsKey('commandId')
            ? json_['commandId'] as core.String
            : null,
        commandResult: json_.containsKey('commandResult')
            ? DirectoryChromeosdevicesCommandResult.fromJson(
                json_['commandResult'] as core.Map<core.String, core.dynamic>)
            : null,
        issueTime: json_.containsKey('issueTime')
            ? json_['issueTime'] as core.String
            : null,
        payload: json_.containsKey('payload')
            ? json_['payload'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );