toJson method

Map<String, dynamic> toJson()
override

Implementation

Map<String, dynamic> toJson() {
  return super.toJson()
    ..addAll({
      'eventName': eventName,
      'eventProperties': eventSchema,
      'samplingRate': samplingRate
    });
}