Accelerator.fromJson constructor

Accelerator.fromJson(
  1. Map _json
)

Implementation

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