ComputeEnginePreferences.fromJson constructor

ComputeEnginePreferences.fromJson(
  1. Map json_
)

Implementation

ComputeEnginePreferences.fromJson(core.Map json_)
    : this(
        licenseType: json_.containsKey('licenseType')
            ? json_['licenseType'] as core.String
            : null,
        machinePreferences: json_.containsKey('machinePreferences')
            ? MachinePreferences.fromJson(json_['machinePreferences']
                as core.Map<core.String, core.dynamic>)
            : null,
        persistentDiskType: json_.containsKey('persistentDiskType')
            ? json_['persistentDiskType'] as core.String
            : null,
      );