PhoneException constructor

PhoneException(
  1. PhoneErrorCode code,
  2. EcMessageKey key, [
  3. Map<String, Object?> args = const {}
])

Creates a new phone validation exception.

code The error code for this exception. message The error message for this exception.

Implementation

PhoneException(this.code, this.key, [this.args = const {}]);