Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
EParisot committed Sep 4, 2023
1 parent e3ea0c5 commit f6f6645
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/transaction.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Transaction<T> {
/// ```
static Transaction<Uint8List> terminated(
Stream<Uint8List> stream, Uint8List terminator,
{int maxLen: 1024, bool stripTerminator: true}) {
{int maxLen = 1024, bool stripTerminator = true}) {
return Transaction<Uint8List>(
stream,
TerminatedTransformer.broadcast(
Expand All @@ -58,7 +58,7 @@ class Transaction<T> {
/// ```
static Transaction<Uint8List> magicHeader(
Stream<Uint8List> stream, List<int> header,
{int maxLen: 1024}) {
{int maxLen = 1024}) {
return Transaction<Uint8List>(
stream,
MagicHeaderAndLengthByteTransformer.broadcast(
Expand All @@ -73,7 +73,7 @@ class Transaction<T> {
/// ```
static Transaction<String> stringTerminated(
Stream<Uint8List> stream, Uint8List terminator,
{int maxLen: 1024, bool stripTerminator: true}) {
{int maxLen = 1024, bool stripTerminator = true}) {
return Transaction<String>(
stream,
TerminatedStringTransformer.broadcast(
Expand Down

0 comments on commit f6f6645

Please sign in to comment.