toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (spokeStateCounts != null) 'spokeStateCounts': spokeStateCounts!,
      if (spokeStateReasonCounts != null)
        'spokeStateReasonCounts': spokeStateReasonCounts!,
      if (spokeTypeCounts != null) 'spokeTypeCounts': spokeTypeCounts!,
    };