Utils class
Utils class contains utility methods for intl_phone_number_input
library
Constructors
- Utils()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Static Methods
-
generateFlagEmojiUnicode(
String countryCode) → String -
Returns a String which will be the unicode of a Flag Emoji,
from a country
countryCode
passed as a parameter. -
getInitialSelectedCountry(
List< Country> countries, String countryCode) → Country -
Returns a Country form list of
countries
passed that matchescountryCode
. Returns the first Country in the list if no match is available.