Accelerator.fromJson constructor

Accelerator.fromJson(
  1. Map json_
)

Implementation

Accelerator.fromJson(core.Map json_)
    : this(
        acceleratorType: json_.containsKey('acceleratorType')
            ? json_['acceleratorType'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );