Skip to content

Commit

Permalink
Merge pull request #41 from wim07101993/unnecessary-nullables
Browse files Browse the repository at this point in the history
refactor: Remove unnecessary nullables
  • Loading branch information
drager authored Mar 13, 2021
2 parents 2476dde + 0ecffab commit 54c5edf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/guid.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ class Guid {

final RandomGenerator random;

String? guid() =>
String guid() =>
random.fromPatternToHex(['########-####-####-####-############']);
}
2 changes: 1 addition & 1 deletion lib/src/phone_number.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ class PhoneNumber {

final RandomGenerator random;

String? us() => random.fromPattern(usPhoneNumberPatterns);
String us() => random.fromPattern(usPhoneNumberPatterns);
}

0 comments on commit 54c5edf

Please sign in to comment.