Connect the generated _$BridgeClassDeclarationToJson function to the toJson method.
_$BridgeClassDeclarationToJson
toJson
Map<String, dynamic> toJson() => _$BridgeClassDefToJson(this);