PhoneNumberUkRule class

UK NUMBER RULE

Inheritance

Constructors

PhoneNumberUkRule(String attribute)

Properties

attribute ↔ String
getter/setter pairinherited
description ↔ String
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
info ↔ Map<String, dynamic>
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signature ↔ String
getter/setter pairinherited
textFieldMessage ↔ String?
getter/setter pairinherited
title ↔ String
getter/setter pairinherited

Methods

alert(BuildContext context, {ToastNotificationStyleType style = ToastNotificationStyleType.warning, Duration? duration, Map<String, dynamic>? info}) → void
The alert which will be displayed.
inherited
handle(Map<String, dynamic> info) → bool
Handle the validation, the info variable will contain the following: info'rule' = Validation rule i.e "min". info'data' = Data the user has passed into the validation. info'message' = Overriding message to be displayed for validation (optional).
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited