SqlParameter class
Represents a bind variable (parameter) for SQL execution.
Constructors
- SqlParameter({String? name, String? typeName, Object? value})
- SqlParameter.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
The name of the SQL bind parameter (excluding the leading colon, e.g.
"id").
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- typeName ↔ String?
-
Optional: Datatype hint for the parameter (e.g., "VARCHAR2", "NUMBER",
"DATE", "TIMESTAMP").
getter/setter pair
- value ↔ Object?
-
Use protobuf.Value so clients can pass ints, bools, and strings natively.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited