UpdateEvent class
A factory to create simple property added event.
class UpdateEvent extends PropertiesEvent { final String _key; final String _oldvalue; final String _newvalue; /** * Create a new property updated event instance by name the [eventType] and the property's [key] and [value]. */ const UpdateEvent(this._key, this._newvalue, this._oldvalue):super(Properties.UPDATE_PROPERTY_EVENTNAME); /** * Getter for the updated [key]. */ String get key => _key; /** * Getter for the updated [oldValue]. */ String get oldValue => _oldvalue; /** * Getter for the updated [newValue]. */ String get newValue => _newvalue; }
Extends
PropertiesEvent > UpdateEvent
Constructors
Properties
final String type #
inherited from PropertiesEvent
Getter fro the eventType
of this event.
String get type => _eventType;