InputParameter.fromJson constructor

InputParameter.fromJson(
  1. Map json_
)

Implementation

InputParameter.fromJson(core.Map json_)
    : this(
        additionalDetails: json_.containsKey('additionalDetails')
            ? json_['additionalDetails']
                as core.Map<core.String, core.dynamic>
            : null,
        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,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        nullable: json_.containsKey('nullable')
            ? json_['nullable'] as core.bool
            : null,
      );