SpokeStateCount.fromJson constructor

SpokeStateCount.fromJson(
  1. Map json_
)

Implementation

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