toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (confidenceInterval != null)
        'confidenceInterval': confidenceInterval!,
      if (count != null) 'count': count!,
      if (countType != null) 'countType': countType!,
      if (ratio != null) 'ratio': ratio!,
      if (type != null) 'type': type!,
    };