Accelerator.fromJson constructor

Accelerator.fromJson(
  1. Map json_
)

Implementation

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