AppInstallDate class Null safety

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.
read-onlyinherited
installDate Future<DateTime>
Returns the install date of the application
read-only
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