CheckSetResult.fromJson constructor

CheckSetResult.fromJson(
  1. Map json_
)

Implementation

CheckSetResult.fromJson(core.Map json_)
    : this(
        allowlistResult: json_.containsKey('allowlistResult')
            ? AllowlistResult.fromJson(json_['allowlistResult']
                as core.Map<core.String, core.dynamic>)
            : null,
        checkResults: json_.containsKey('checkResults')
            ? CheckResults.fromJson(
                json_['checkResults'] as core.Map<core.String, core.dynamic>)
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        explanation: json_.containsKey('explanation')
            ? json_['explanation'] as core.String
            : null,
        index:
            json_.containsKey('index') ? json_['index'] as core.String : null,
        scope: json_.containsKey('scope')
            ? Scope.fromJson(
                json_['scope'] as core.Map<core.String, core.dynamic>)
            : null,
      );