SmartWalletEvent constructor
SmartWalletEvent({})
Creates a new SmartWalletEvent instance.
The name
parameter is the name of the event, and the data
parameter
is a map containing relevant event data.
Implementation
factory SmartWalletEvent({
@JsonKey(name: 'eventName') required String name,
@JsonKey(name: 'eventData') required Map<String, dynamic> data,
}) = _SmartWalletEvent;