Utils class

Constructors

Utils()

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

composeCall(String phone, BuildContext context, TpAlertDialog dialog) → void
composeOpenUrl(String url) → void
composeSendMail(String address, String subject, String body) → void
composeSendSms(String phone) → void
encodeQueryParameters(Map<String, String> params) String?
formatKg(String value) String
now({String format = kDateFormat}) String
roundDouble(double val, int places) double
toDate(String value, {String format = kDateFormat}) DateTime
toVnd(int value, {bool emptyToZero = true}) String
validatePhone(String phone) bool

Constants

kDateFormat → const String