InstanceSelectionResult.fromJson constructor

InstanceSelectionResult.fromJson(
  1. Map json_
)

Implementation

InstanceSelectionResult.fromJson(core.Map json_)
    : this(
        machineType: json_.containsKey('machineType')
            ? json_['machineType'] as core.String
            : null,
        vmCount: json_.containsKey('vmCount')
            ? json_['vmCount'] as core.int
            : null,
      );