mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-18 09:54:01 +01:00
Update Branch to null safety
Add deep linking to iOS
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class PaymentRequest {
|
||||
PaymentRequest(this.address, this.amount, this.note, {this.scheme});
|
||||
PaymentRequest(this.address, this.amount, this.note, this.scheme);
|
||||
|
||||
factory PaymentRequest.fromUri(Uri uri) {
|
||||
factory PaymentRequest.fromUri(Uri? uri) {
|
||||
var address = "";
|
||||
var amount = "";
|
||||
var note = "";
|
||||
@@ -15,7 +15,7 @@ class PaymentRequest {
|
||||
scheme = uri.scheme;
|
||||
}
|
||||
|
||||
return PaymentRequest(address, amount, note, scheme: scheme);
|
||||
return PaymentRequest(address, amount, note, scheme);
|
||||
}
|
||||
|
||||
final String address;
|
||||
|
||||
Reference in New Issue
Block a user