cast method

  1. @override
T cast(
  1. dynamic value
)
override

Casts the argument to this data type, otherwise throw an ArgumentError.

Implementation

@override
T cast(dynamic value) => delegate.field.mod(delegate.cast(value), modulus);