@override int dart2raw(value) { if (value is BigInt) return value.toInt(); if (value is int) return value; throw ArgumentError.value(value); }