syncFromBase64 method

void syncFromBase64(
  1. String? base64
)

Replaces data from base64 string without marking as modified.

Implementation

void syncFromBase64(String? base64) {
  final bytes =
      (base64 != null && base64.isNotEmpty) ? base64Decode(base64) : null;
  _setData(bytes, markModified: false);
}