AppInstallDate class
This is a plugin class which is used to get install date of the application
Example:
late String installDate;
// Platform messages may fail, so we use a try/catch PlatformException.
try {
installDate = (await AppInstallDate().installDate).toString();
} catch (e, st) {
print('Failed to load install date due to $e\n$st');
installDate = 'Failed to load install date';
}
Constructors
- AppInstallDate()
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
installDate
→ Future<
DateTime> -
Returns the install date of the application
no setter
- 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