toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'custom'] = this.custom;
    json[r'rating'] = this.rating;
  if (this.reason != null) {
    json[r'reason'] = this.reason;
  } else {
    json[r'reason'] = null;
  }
    json[r'sdk'] = this.sdk;
    json[r'sdk_version'] = this.sdkVersion;
    json[r'user_session_id'] = this.userSessionId;
  return json;
}