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:
- PushProvider.firebase returns "Firebase"
- PushProvider.huawei returns "Huawei"
Implementation
String get value {
switch (this) {
case PushProvider.firebase:
return 'Firebase';
case PushProvider.huawei:
return 'Huawei';
}
}