MahgModel class abstract
Constructors
Properties
- displayName → String
-
return display name
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- idValue → String
-
return the id valie
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getBool(
dynamic val) → bool - return bool from dynamic
-
getDate(
dynamic val) → DateTime? - return DateTime from dynamic
-
getDouble(
dynamic val, [bool defaultIsZero = true]) → double? - return double from dynamic
-
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
-
getBoolEx(
dynamic val) → bool - return bool from dynamic
-
getDateEx(
dynamic val) → DateTime? - return DateTime from dynamic
-
getDoubleEx(
dynamic val, [bool defaultIsZero = true]) → double? - return double from dynamic
-
isDefault(
String? id) → bool - return true if the Id is default
-
parseUTC(
String? serverValue, {String format = "yyyy-MM-ddTHH:mm", DateTime? defaultValue}) → DateTime? - convert service time to DateTime UTC