Update Branch to null safety

Add deep linking to iOS
This commit is contained in:
OmarHatem 2022-11-08 16:56:27 +02:00
parent 7c7de65cdf
commit f078457c7b
8 changed files with 74 additions and 36 deletions

View file

@ -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;