GetPhoneNumber class
No dependency module
Constructors
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
-
get(
) → Future< String> - Get phone number included process handling android permissions. You don't have to handle exceptions.
-
getListPhoneNumber(
) → Future< List< String> > - get list of Phone number
-
getPhoneNumber(
) → Future< String> - Get the phone number. You may handle exceptions to avoid error message.
-
getSimCardList(
) → Future< List< SimCard> > - get list of SimCard
-
hasPermission(
) → Future< bool> - Check any permission granted to get the phone number.
-
isSupport(
) → bool - Check platform is support this library.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestPermission(
) → Future< bool> - Request permission to get the phone number.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
-
mobileNumber
→ Future<
String> -
no setter