StandardSqlDataType.fromJson constructor

StandardSqlDataType.fromJson(
  1. Map json_
)

Implementation

StandardSqlDataType.fromJson(core.Map json_)
    : this(
        arrayElementType: json_.containsKey('arrayElementType')
            ? StandardSqlDataType.fromJson(json_['arrayElementType']
                as core.Map<core.String, core.dynamic>)
            : null,
        rangeElementType: json_.containsKey('rangeElementType')
            ? StandardSqlDataType.fromJson(json_['rangeElementType']
                as core.Map<core.String, core.dynamic>)
            : null,
        structType: json_.containsKey('structType')
            ? StandardSqlStructType.fromJson(
                json_['structType'] as core.Map<core.String, core.dynamic>)
            : null,
        typeKind: json_.containsKey('typeKind')
            ? json_['typeKind'] as core.String
            : null,
      );