Skip to content

Commit

Permalink
Update simple_web_socket.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
brianquinlan committed Feb 7, 2024
1 parent e6be78b commit 41a06c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/simple_web_socket/lib/src/simple_web_socket.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ final class CloseReceived extends SimpleWebSocketEvent {
/// Will be empty if the peer did not specify a reason.
final String reason;

CloseReceived([this.code, this.reason = ""]);
CloseReceived([this.code, this.reason = '']);

@override
bool operator ==(Object other) =>
Expand All @@ -74,7 +74,7 @@ final class CloseReceived extends SimpleWebSocketEvent {

class SimpleWebSocketException implements Exception {
final String message;
SimpleWebSocketException([this.message = ""]);
SimpleWebSocketException([this.message = '']);
}

/// Thrown if [SimpleWebSocket.sendText], [SimpleWebSocket.sendBytes], or
Expand Down

0 comments on commit 41a06c3

Please sign in to comment.