label property

String get label

Implementation

String get label {
  switch (this) {
    case google:
      return 'Google';
    case microsoft:
      return 'Microsoft';
    case github:
      return 'GitHub';
    case linkedin:
      return 'LinkedIn';
    case apple:
      return 'Apple';
    case unknown:
      return 'Sign in';
  }
}