Base64Plugin constructor

Base64Plugin({
  1. List<String> writeEvents = const ['write', 'put'],
  2. List<String> readEvents = const ['read', 'get'],
  3. bool urlSafe = false,
  4. bool decodeAsString = true,
  5. bool enableEncode = true,
  6. bool enableDecode = true,
})

Creates a Base64 plugin with configurable options.

Implementation

Base64Plugin({
  this.writeEvents = const ['write', 'put'],
  this.readEvents = const ['read', 'get'],
  this.urlSafe = false,
  this.decodeAsString = true,
  this.enableEncode = true,
  this.enableDecode = true,
});