sumOflovelace property
Implementation
late final BigInt sumOflovelace = amount.fold(
BigInt.zero,
(previousValue, element) =>
previousValue +
(element.islovelace ? BigInt.parse(element.quantity) : BigInt.zero));
late final BigInt sumOflovelace = amount.fold(
BigInt.zero,
(previousValue, element) =>
previousValue +
(element.islovelace ? BigInt.parse(element.quantity) : BigInt.zero));