Permalink
Browse files

bug: hashCode was missing in 'ActionName'

  • Loading branch information...
MikeMitterer committed Apr 14, 2016
1 parent 9b6b809 commit f525066be948f5f740f16d0f1e13be9e4ce9796a
Showing with 3 additions and 1 deletion.
  1. +1 −1 lib/mdlflux.dart
  2. +2 −0 lib/src/flux/action.dart
View
@@ -50,9 +50,9 @@ library mdlflux;
import 'dart:async';
import 'dart:convert';
import 'package:di/di.dart' as di;
import 'package:validate/validate.dart';
import 'dart:convert';
part "src/flux/interfaces.dart";
View
@@ -46,7 +46,9 @@ class ActionName {
const ActionName(this.name);
String toString() => name;
bool operator==(final ActionName actionname) => name == actionname.name;
int get hashCode => name.hashCode;
}
/// Simples form of an Action

0 comments on commit f525066

Please sign in to comment.