Event constructor
Event({
- Event_Eon? eon,
- Event_Era? era,
- Event_Epoch? epoch,
- Event_Header? header,
- Event_IoTransaction? ioTransaction,
Implementation
factory Event({
Event_Eon? eon,
Event_Era? era,
Event_Epoch? epoch,
Event_Header? header,
Event_IoTransaction? ioTransaction,
}) {
final _result = create();
if (eon != null) {
_result.eon = eon;
}
if (era != null) {
_result.era = era;
}
if (epoch != null) {
_result.epoch = epoch;
}
if (header != null) {
_result.header = header;
}
if (ioTransaction != null) {
_result.ioTransaction = ioTransaction;
}
return _result;
}