PredefinedDefaultValue class

Class helper for sql engine library to provide the of predefined value.

Constructors

PredefinedDefaultValue(String defined, dynamic dartValue, String dartType, String sqlType)
create pre-defined value
const

Properties

dartType String
a compatible dart type
final
dartValue → dynamic
a compatible dart value encoded or not encoded from actual dart value.
final
defined String
the text that defined the default value
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sqlType String
the sql type for the value
final

Methods

encode() String
convert value into 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

Static Methods

parse(String val) List<PredefinedDefaultValue>
parsing string value into Pre-Defined Class