toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowlistResult != null) 'allowlistResult': allowlistResult!,
      if (checkSetResult != null) 'checkSetResult': checkSetResult!,
      if (explanation != null) 'explanation': explanation!,
      if (imageUri != null) 'imageUri': imageUri!,
      if (verdict != null) 'verdict': verdict!,
    };