CheckIndexPathResult constructor

  1. @JsonSerializable(explicitToJson: true)
const CheckIndexPathResult({
  1. ValidationResult? validationResult,
  2. @Default('') String? error,
})

Default Constructor

Implementation

@JsonSerializable(explicitToJson: true)
const factory CheckIndexPathResult({
  /// ValidationResult holds the result of the check.
  ValidationResult? validationResult,

  /// Error is string explaining what went wrong. Empty if everything was fine.
  @Default('') String? error,
}) = _CheckIndexPathResult;