importDataFromBase64String method

void importDataFromBase64String(
  1. String base64String,
  2. DataFormat dataFormat, [
  3. bool continueImportOnError = false
])

Imports form value from base 64 string to the file with the specific DataFormat.

Implementation

void importDataFromBase64String(String base64String, DataFormat dataFormat,
    [bool continueImportOnError = false]) {
  importData(base64.decode(base64String).toList(), dataFormat,
      continueImportOnError);
}