Datum constructor

Datum({
  1. Datum_Eon? eon,
  2. Datum_Era? era,
  3. Datum_Epoch? epoch,
  4. Datum_Header? header,
  5. Datum_IoTransaction? ioTransaction,
})

Implementation

factory Datum({
  Datum_Eon? eon,
  Datum_Era? era,
  Datum_Epoch? epoch,
  Datum_Header? header,
  Datum_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;
}