Action<T> constructor

Action<T>({@required String type, T payload })

Implementation

Action({@required this.type, this.payload});