toJson method

Map<String, dynamic> toJson()

Implementation

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