Skip to content

Commit

Permalink
Fix after review
Browse files Browse the repository at this point in the history
  • Loading branch information
Luxorum committed Apr 24, 2023
1 parent 8483304 commit 97f2fc7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/domain/language_check_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'package:languagetool_textfield/domain/mistake.dart';

/// Base language check service.
abstract class LanguageCheckService {
/// Base language check service constructor.
/// Creates a new instance of the [LanguageCheckService] class.
const LanguageCheckService();

/// Function that finds mistakes in given text.
Expand Down
4 changes: 2 additions & 2 deletions lib/domain/mistake.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class Mistake {
/// A brief description of the mistake.
final String message;

/// The type of mistake.
/// A type of this mistake.
final String type;

/// A position of the beginning of the mistake.
Expand All @@ -17,7 +17,7 @@ class Mistake {
/// Sorted by probability.
final List<String> replacements;

/// Create a new instance of the [Mistake] class
/// Creates a new instance of the [Mistake] class
const Mistake({
required this.message,
required this.type,
Expand Down

0 comments on commit 97f2fc7

Please sign in to comment.