ValueRange.fromJson constructor

ValueRange.fromJson(
  1. Map json_
)

Implementation

ValueRange.fromJson(core.Map json_)
    : this(
        majorDimension: json_.containsKey('majorDimension')
            ? json_['majorDimension'] as core.String
            : null,
        range:
            json_.containsKey('range') ? json_['range'] as core.String : null,
        values: json_.containsKey('values')
            ? (json_['values'] as core.List)
                .map((value) => value as core.List)
                .toList()
            : null,
      );