Options.fromJson constructor

Options.fromJson(
  1. Map json_
)

Implementation

Options.fromJson(core.Map json_)
    : this(
        includeOnlyTargetedUserLists:
            json_.containsKey('includeOnlyTargetedUserLists')
                ? json_['includeOnlyTargetedUserLists'] as core.bool
                : null,
        pathQueryOptions: json_.containsKey('pathQueryOptions')
            ? PathQueryOptions.fromJson(json_['pathQueryOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
      );