mapFromDatabaseResponse method
Maps the response from sql back to a readable dart type.
Implementation
@override
BigInt? mapFromDatabaseResponse(dynamic response) {
if (response == null || response is BigInt?) return response as BigInt?;
if (response is int) return BigInt.from(response);
return BigInt.parse(response.toString());
}