SupportedValues.fromJson constructor

SupportedValues.fromJson(
  1. Map json_
)

Implementation

SupportedValues.fromJson(core.Map json_)
  : this(
      acceleratorTypes: (json_['acceleratorTypes'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
      machineTypes: (json_['machineTypes'] as core.List?)
          ?.map((value) => value as core.String)
          .toList(),
    );