# getLabel method

String getLabel()

Returns the label which can be displayed on an AccountOnFile selection screen.

## Implementation

    String getLabel() {
      String label = "";
      final template = displayHints?.labelTemplate.firstOrNull;
      if (template != null) {
        for (final attribute in attributes) {
          if (template.attributeKey == attribute.key) {
            label = attribute.value;
          }
        }
      }
      return label;
    }