Algo class abstract

Have implemented different types of algorithms that is useful.

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

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

Static Methods

formatTime(DateTime d, {Formatter formatter = Formatter.large, bool showAgo = true, bool showYesterday = false, DateFormat? df}) String
Format the given time by comparing with DateTime.now() and return the time difference in a intelligent format
getDeviceName() Future<String>
Get the name of the device which was given by the hardware manufacturer.
getDeviceVersion() Future<String>
Version of the current operating system.
getUdID() Future<String>
Get a unique ID for the flutter app
toFirstLetterCapital(String text) String
Capitalize the first letter of the given text
toSentenceCapital(String text) String
Capitalize the first letter of each sentence of the given text
toTitleCase(String text) String
Capitalize the first letters of every words in the given text. Words in text should be separated with spaces.