decodeBytes function

Uint8List? decodeBytes(
  1. Object? v
)

String em Base64.

Implementation

Uint8List? decodeBytes(Object? v) {
  if (v is! String) return null;
  try {
    return base64Decode(v);
  } on FormatException {
    return null;
  }
}