cast method
Casts the argument to this data type, otherwise throw an ArgumentError.
Implementation
@override
T cast(dynamic value) => value is T ? value : super.cast(value);
Casts the argument to this data type, otherwise throw an ArgumentError.
@override
T cast(dynamic value) => value is T ? value : super.cast(value);