rawValue property

String get rawValue

Returns the raw string value for native communication.

Implementation

String get rawValue {
  switch (this) {
    case IaCardLinkEvent.willExit:
      return 'willExitCardlink';
    case IaCardLinkEvent.willStartScanning:
      return 'willStartScanning';
    case IaCardLinkEvent.failedToInitialize:
      return 'failedToInitialize';
    case IaCardLinkEvent.goToCart:
      return 'goToCart';
    case IaCardLinkEvent.openTermsAndConditions:
      return 'openTermsAndConditions';
    case IaCardLinkEvent.cardSaved:
      return 'cardSaved';
  }
}