ShortRepresentation.fromJson constructor

ShortRepresentation.fromJson(
  1. Map json_
)

Implementation

ShortRepresentation.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        subqueries: json_.containsKey('subqueries')
            ? (json_['subqueries'] as core.Map<core.String, core.dynamic>)
                .map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.int,
                ),
              )
            : null,
      );