emoji property

String? emoji

The flag emoji for this node. This will walk the nodes to Country for the Country.emoji flag. If the node is a custom node that can't be walked, this returns null.

For example, If the underlying instance is a:

City => this.state.country.emoji

Region => this.country.emoji

Country => this.emoji

Implementation

String? get emoji => this is City
    ? (this as City).state.country.emoji
    : this is Region
        ? (this as Region).country.emoji
        : null;