ReportAttachment class final
A named JSON report that can be uploaded or shared on any platform.
Constructors
- ReportAttachment.fromEvent(ReportEvent event, {String? fileName})
- Encodes the payload retained by ReportEvent.toMap as UTF-8 JSON.
Properties
- bytes → Uint8List
-
A fresh byte array containing the serialized report.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- mimeType → String
-
The media type of bytes.
no setter
- name → String
-
Suggested file name, including the JSON extension.
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited