SpokeTypeCount.fromJson constructor

SpokeTypeCount.fromJson(
  1. Map json_
)

Implementation

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