SystemVariables.fromJson constructor

SystemVariables.fromJson(
  1. Map json_
)

Implementation

SystemVariables.fromJson(core.Map json_)
    : this(
        types: json_.containsKey('types')
            ? (json_['types'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  StandardSqlDataType.fromJson(
                      value as core.Map<core.String, core.dynamic>),
                ),
              )
            : null,
        values: json_.containsKey('values')
            ? json_['values'] as core.Map<core.String, core.dynamic>
            : null,
      );