decodeString method
Decodes string
to an instance of T
.
Implementation
@override
BigInt decodeString(String string) {
final bigIntValue = BigInt.tryParse(string);
if (bigIntValue != null) {
return bigIntValue;
}
throw ArgumentError.value(string);
}