InputParameter.fromJson constructor
InputParameter.fromJson(
- Map json_
Implementation
InputParameter.fromJson(core.Map json_)
: this(
dataType: json_.containsKey('dataType')
? json_['dataType'] as core.String
: null,
defaultValue:
json_.containsKey('defaultValue') ? json_['defaultValue'] : null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
jsonSchema: json_.containsKey('jsonSchema')
? JsonSchema.fromJson(
json_['jsonSchema'] as core.Map<core.String, core.dynamic>)
: null,
nullable: json_.containsKey('nullable')
? json_['nullable'] as core.bool
: null,
parameter: json_.containsKey('parameter')
? json_['parameter'] as core.String
: null,
);