Utils class Null safety

Utils class contains utility methods for intl_phone_number_input library

Constructors

Utils()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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 matches countryCode. Returns the first Country in the list if no match is available.