Statement.fromJson constructor
Statement.fromJson(
- Map json_
Implementation
Statement.fromJson(core.Map json_)
: this(
paramTypes: json_.containsKey('paramTypes')
? (json_['paramTypes'] as core.Map<core.String, core.dynamic>)
.map(
(key, value) => core.MapEntry(
key,
Type.fromJson(value as core.Map<core.String, core.dynamic>),
),
)
: null,
params: json_.containsKey('params')
? json_['params'] as core.Map<core.String, core.dynamic>
: null,
sql: json_.containsKey('sql') ? json_['sql'] as core.String : null,
);