covariant method
Assert that JavaScript's x
is the proper type represented by this
Type.
Implementation
@override
bool covariant(x) {
return (x is BigInt && x >= BigInt.zero) ||
(x is int && x >= 0) ||
(x is String && BigInt.parse(x) >= BigInt.zero);
}