UriUtils class Null safety
Uri utils.
Constructors
- UriUtils()
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
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
-
addImageUrlPrefix(
String prefix) → void - Adds image url prefix.
-
getMediaExtension(
Uri uri) → String - Gets media extension.
-
isImageUri(
Uri uri) → bool - Returns true if image.
-
isLocalUri(
Uri uri) → bool - Returns true if local.
-
isMediaUri(
Uri uri) → bool - Returns true if media.
-
isRemoteUri(
Uri uri) → bool - Returns true if remote.
-
isVideoUri(
Uri uri) → bool - Returns true if video.
-
launch(
Uri uri) → Future< bool> - Launch uri.
-
launchCall(
String call) → Future< bool> - Launch call.
-
launchEmail(
String email) → Future< bool> - Launch email.
-
launchMap(
String address) → Future< bool> - Launch map.