AppIdentity constructor

const AppIdentity({
  1. Uri? uri,
  2. Uri? icon,
  3. String? name,
})

The dApp's identity information.

Wallet enpoints use the [uri] to verify the dApp and decide whether or not to extend trust to it based on the attested web domain.

Identity verification on Android relies on Digital Asset Links to associate apps with a web domain.

final identity = AppIdentity(
  uri: Uri.parse('https://myDApp.com'), 
  icon: Uri.parse('favicon.ico'), 
  name: 'My DApp', 
);

Implementation

const AppIdentity({
  this.uri,
  this.icon,
  this.name,
});