toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  json[r'expensiveOperations'] = expensiveOperations;
  if (variables != null) {
    json[r'variables'] = variables;
  }
  return json;
}