ResultMetadata.fromJson constructor

ResultMetadata.fromJson(
  1. Map json_
)

Implementation

ResultMetadata.fromJson(core.Map json_)
    : this(
        dataType: json_.containsKey('dataType')
            ? json_['dataType'] as core.String
            : 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,
      );