DataSourceRestriction.fromJson constructor

DataSourceRestriction.fromJson(
  1. Map json_
)

Implementation

DataSourceRestriction.fromJson(core.Map json_)
    : this(
        filterOptions: json_.containsKey('filterOptions')
            ? (json_['filterOptions'] as core.List)
                .map((value) => FilterOptions.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        source: json_.containsKey('source')
            ? Source.fromJson(
                json_['source'] as core.Map<core.String, core.dynamic>)
            : null,
      );