toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final result = <String, dynamic>{};
  if (arguments != null) result['arguments'] = arguments;
  if (selection != null) result['selection'] = selection!.toJson();
  return result;
}