InvalidBase64Exception class

  • @Author: chuxiong
  • @Created at: 2022/10/31 11:02 上午
  • @Email:
  • description 文件工具类

封装各平台目录定位、文件读写、目录创建、日志清理与压缩、base64 与文件互转。 单例(FileUtils())。 依赖:path_provider(平台插件——目录定位经原生通道,测试需打桩)、 archive / path(纯 Dart)。 Thrown when FileUtils.createFileFromBase64 receives a string that cannot be decoded as valid base64, replacing the raw FormatException.

Implemented types

Constructors

InvalidBase64Exception(String message, {Object? inner})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
inner → Object?
final
message → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited