VolumeError class
VolumeError captures an error encountered during a volume operation.
Constructors
- VolumeError({String? message, DateTime? time})
-
Default constructor.
const
-
VolumeError.fromJson(Map<
String, dynamic> json) -
Creates a VolumeError from JSON data.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String?
-
message represents the error encountered during Attach or Detach operation. This string may be logged, so it should not contain sensitive information.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- time → DateTime?
-
time represents the time the error was encountered.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> - Converts a VolumeError instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited