Options.fromJson constructor

Options.fromJson(
  1. Map json_
)

Implementation

Options.fromJson(core.Map json_)
    : this(
        analyzeServiceAccountImpersonation:
            json_.containsKey('analyzeServiceAccountImpersonation')
                ? json_['analyzeServiceAccountImpersonation'] as core.bool
                : null,
        expandGroups: json_.containsKey('expandGroups')
            ? json_['expandGroups'] as core.bool
            : null,
        expandResources: json_.containsKey('expandResources')
            ? json_['expandResources'] as core.bool
            : null,
        expandRoles: json_.containsKey('expandRoles')
            ? json_['expandRoles'] as core.bool
            : null,
        outputGroupEdges: json_.containsKey('outputGroupEdges')
            ? json_['outputGroupEdges'] as core.bool
            : null,
        outputResourceEdges: json_.containsKey('outputResourceEdges')
            ? json_['outputResourceEdges'] as core.bool
            : null,
      );