GlobalFunctions class

Constructors

GlobalFunctions()

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

decryptHmacSha256({required String encryptedValue}) String
Returns the original value used to create the HMAC-SHA256 hash.
encryptHmacSha256({String key = 'VNLook', required String value}) String
getPositionBottomLeft(GlobalKey<State<StatefulWidget>> parentKey, GlobalKey<State<StatefulWidget>> childKey) Offset
verifyHmacSha256({required String encryptedValue, String key = 'VNLook', required String valueToCheck}) bool
Verifies if the provided value generates the same hash when encrypted with the same key.