name property

String name

Implementation

String get name {
  switch (this) {
    case APIRequesterSource.internal:
      return 'internal';
    case APIRequesterSource.local:
      return 'local';
    case APIRequesterSource.remote:
      return 'remote';
    case APIRequesterSource.unknown:
      return 'unknown';
    default:
      throw ArgumentError('Unknown: $this');
  }
}