DMethod mixin

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

dateFormat(dynamic dateTime, {String pattern = 'yyyy-MM-dd HH:mm:ss'}) String
格式化时间,不符合将返回原值
forceExitApp() → void
强制退出应用
fromHex(String hex, {Color defaultColor = Colors.black}) Color
hex颜色
getClipboardText() Future<String>
获取剪切板内容
jsonDecode(String value) → dynamic
json解码,失败返回null
jsonEncode(Object? value, {String? defValue}) String?
转换成json字符串,失败将返回defValue
moneyFormat(double amount, {String format = "#,##0.00"}) String
格式化金额
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