toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (params != null) {
    json[r'params'] = params;
  }
  if (paramsInfo != null) {
    json[r'paramsInfo'] = paramsInfo;
  }
  return json;
}