value property

String get value

The name the shared logger knows this source by.

Implementation

String get value {
  switch (this) {
    case LogSource.sdk:
      return 'SDK';
    case LogSource.intent:
      return 'INTENT';
    case LogSource.vault:
      return 'VAULT';
    case LogSource.validation:
      return 'VALIDATION';
    case LogSource.nativePay:
      return 'NATIVE_PAY';
    case LogSource.webview:
      return 'WEBVIEW';
    case LogSource.network:
      return 'NETWORK';
  }
}