endorse method
Implementation
Future<void> endorse({
required String ledgerId,
required security.Signing signer,
}) async {
final signature = await signer.signPayload(transactions);
final endorsement = Endorsement()
..ledgerId = ledgerId
..signature = signature;
endorsements.add(endorsement);
}