ParamValue.fromJson constructor
ParamValue.fromJson(
- Map json_
Implementation
ParamValue.fromJson(core.Map json_)
: this(
boolValue: json_['boolValue'] as core.bool?,
numberValue: (json_['numberValue'] as core.num?)?.toDouble(),
oneofValue: json_.containsKey('oneofValue')
? Parameter.fromJson(
json_['oneofValue'] as core.Map<core.String, core.dynamic>,
)
: null,
stringListValue: json_.containsKey('stringListValue')
? StringList.fromJson(
json_['stringListValue'] as core.Map<core.String, core.dynamic>,
)
: null,
stringValue: json_['stringValue'] as core.String?,
);