toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowlistResult != null) 'allowlistResult': allowlistResult!,
      if (checkResults != null) 'checkResults': checkResults!,
      if (displayName != null) 'displayName': displayName!,
      if (explanation != null) 'explanation': explanation!,
      if (index != null) 'index': index!,
      if (scope != null) 'scope': scope!,
    };