handle method

  1. @override
Future<RequestCredential> handle(
  1. DidcommMessage message
)
override

Actual handling method. variables can be expected to be non-null as configured

Implementation

@override
Future<RequestCredential> handle(DidcommMessage message) async {
  var offer = OfferCredential.fromJson(message.toJson());

  var request = generateRequestCredentialMessageFromOffer(
      offer: offer, wallet: wallet!, replyTo: replyTo!);

  return request;
}