putStringFormatConverterOriginal function

PutStringFormat putStringFormatConverterOriginal(
  1. PutStringFormat state
)

Implementation

firebase_storage.PutStringFormat putStringFormatConverterOriginal(
    PutStringFormat state) {
  if (state == PutStringFormat.raw) {
    return firebase_storage.PutStringFormat.raw;
  } else if (state == PutStringFormat.base64) {
    return firebase_storage.PutStringFormat.base64;
  } else if (state == PutStringFormat.base64Url) {
    return firebase_storage.PutStringFormat.base64Url;
  } else {
    return firebase_storage.PutStringFormat.dataUrl;
  }
}