wireName property

String get wireName

Returns a lowercase name used for serialization or logging

Implementation

String get wireName {
  switch (this) {
    case NavigationAction.push:
      return 'push';
    case NavigationAction.pop:
      return 'pop';
    case NavigationAction.replace:
      return 'replace';
    case NavigationAction.remove:
      return 'remove';
    case NavigationAction.screenEnter:
      return 'screen_enter';
  }
}