value property

String get value

Returns the string representation of the push provider.

This method provides the exact string values expected by the Gameball API:

Implementation

String get value {
  switch (this) {
    case PushProvider.firebase:
      return 'Firebase';
    case PushProvider.huawei:
      return 'Huawei';
  }
}