NamedRanges.fromJson constructor

NamedRanges.fromJson(
  1. Map json_
)

Implementation

NamedRanges.fromJson(core.Map json_)
    : this(
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        namedRanges: json_.containsKey('namedRanges')
            ? (json_['namedRanges'] as core.List)
                .map((value) => NamedRange.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );