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