toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var context = this.context;
  var expression = this.expression;

  final json = <String, Object?>{};
  if (context != null) {
    json[r'context'] = context.toJson();
  }
  json[r'expression'] = expression;
  return json;
}