AcceleratorConfig.fromJson constructor

AcceleratorConfig.fromJson(
  1. Map json_
)

Implementation

AcceleratorConfig.fromJson(core.Map json_)
    : this(
        acceleratorCount: json_.containsKey('acceleratorCount')
            ? json_['acceleratorCount'] as core.int
            : null,
        acceleratorTypeUri: json_.containsKey('acceleratorTypeUri')
            ? json_['acceleratorTypeUri'] as core.String
            : null,
      );