toJSON method
Implementation
@override
dynamic toJSON(Object? object, SerializationContext context) {
return object is BigInt ? object.toString() : object;
}
@override
dynamic toJSON(Object? object, SerializationContext context) {
return object is BigInt ? object.toString() : object;
}