BlocxTestEntity class

A lightweight, immutable entity for testing collections and event hubs.

Inheritance

Constructors

BlocxTestEntity({required String id, String name = '', int order = 0, Map<String, dynamic>? data})
const

Properties

data → Map<String, dynamic>?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
identifier → String
A globally unique and constant identifier for the entity.
no setteroverride
name → String
final
order → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? id, String? name, int? order, Map<String, dynamic>? data}) → BlocxTestEntity
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