Skip to content

Commit

Permalink
add doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sufftea committed Apr 29, 2024
1 parent 503589f commit 8324d8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ class AvoidDebugPrintInReleaseDebugModel {
/// Whether the function has the same name as kDebugMode
bool get hasSameName => _kDebugMode == name;

/// The complete check if the statement is the `kDebugMode` identifier.
bool get isDebugMode => hasSameName && hasTheSameSource;

@override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ class AvoidDebugPrintInReleaseFuncModel {
/// Ehether the function has the same name as debugPrint
bool get hasSameName => _debugPrint == name;

/// The complete check if the expression of is the debugPrint function
bool get isDebugPrint => hasSameName && hasTheSameSource;

@override
Expand Down

0 comments on commit 8324d8c

Please sign in to comment.