mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-07-16 22:33:24 +00:00
Update Branch to null safety
Add deep linking to iOS
This commit is contained in:
parent
7c7de65cdf
commit
f078457c7b
8 changed files with 74 additions and 36 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue