FakeMapping class final

A mapping of bytes a fake never had: zeros, handed back on unmap.

Inheritance

Constructors

FakeMapping(ByteData bytes)

Properties

bytes → ByteData
The mapped range.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unmapped ↔ bool
Whether unmap has been called.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
unmap() → void
Hands the range back. For MapMode.write, this is when the bytes reach the buffer.
override

Operators

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