toJSON method
Implementation
@override
dynamic toJSON(Object? object, SerializationContext context) {
return object != null
? RegExp('"(.+)"').allMatches(object.toString()).first.group(1)
: null;
}
@override
dynamic toJSON(Object? object, SerializationContext context) {
return object != null
? RegExp('"(.+)"').allMatches(object.toString()).first.group(1)
: null;
}