ModelCounter.fromJson constructor

ModelCounter.fromJson(
  1. DynamicMap json
)

Convert from json map to ModelCounter.

jsonのマップからModelCounterに変換します。

Implementation

factory ModelCounter.fromJson(DynamicMap json) {
  return ModelCounter.fromServer(
    json.getAsInt(kValueKey),
  );
}