Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rastislavcore committed Mar 7, 2025
1 parent eca660e commit 21b7f93
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/src/payto.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import 'dart:core';
import 'models/payto_json.dart';

import 'constants/regex_patterns.dart';
import 'exceptions/payto_exception.dart';
import 'models/payto_json.dart';

/// A class for handling Payto Resource Locators (PRLs)
class Payto {
Expand Down Expand Up @@ -45,9 +46,8 @@ class Payto {
addressArray.removeAt(position);
}
}
final newPath =
'/${addressArray.where((part) => part.isNotEmpty).join('/')}';
_uri = _uri.replace(path: newPath);
final newPath = addressArray.where((part) => part.isNotEmpty).join('/');
_uri = _uri.replace(path: '/$newPath');
}

/// Gets email alias for UPI/PIX payments
Expand Down

0 comments on commit 21b7f93

Please sign in to comment.