Argument.fromJson constructor

Argument.fromJson(
  1. Map json_
)

Implementation

Argument.fromJson(core.Map json_)
    : this(
        argumentKind: json_.containsKey('argumentKind')
            ? json_['argumentKind'] as core.String
            : null,
        dataType: json_.containsKey('dataType')
            ? StandardSqlDataType.fromJson(
                json_['dataType'] as core.Map<core.String, core.dynamic>)
            : null,
        isAggregate: json_.containsKey('isAggregate')
            ? json_['isAggregate'] as core.bool
            : null,
        mode: json_.containsKey('mode') ? json_['mode'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
      );