Skip to content

Instantly share code, notes, and snippets.

View Maksimka101's full-sized avatar
:shipit:

Zemlianikin Max Maksimka101

:shipit:
View GitHub Profile
@Maksimka101
Maksimka101 / fast_equatable.dart
Last active December 8, 2023 18:11
Fast Equatable
abstract class FastEquatable extends Equatable {
const FastEquatable();
@override
bool operator ==(Object other) {
return identical(this, other) ||
other is FastEquatable &&
other.runtimeType == runtimeType &&
fastEquals(props, other.props);
}