toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (agent != null) 'agent': agent!,
      if (intentCoverage != null) 'intentCoverage': intentCoverage!,
      if (routeGroupCoverage != null)
        'routeGroupCoverage': routeGroupCoverage!,
      if (transitionCoverage != null)
        'transitionCoverage': transitionCoverage!,
    };