toCborValue method

  1. @override
CborValue toCborValue()
inherited

Serializes this instance to a CborValue.

Implementation

@override
CborValue toCborValue() {
  return CborMap({
    for (var element in toCborMap().entries)
      CborSmallInt(element.key): element.value
  });
}