ChartSourceRange.fromJson constructor

ChartSourceRange.fromJson(
  1. Map json_
)

Implementation

ChartSourceRange.fromJson(core.Map json_)
    : this(
        sources: json_.containsKey('sources')
            ? (json_['sources'] as core.List)
                .map((value) => GridRange.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );