operator == method Null safety
- @override
- Object other
override
Overrides == operator to use id as the diferentiation parameter.
Implementation
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is TransactionModel &&
runtimeType == other.runtimeType &&
id == other.id;