CreateDIDReq constructor

CreateDIDReq({
  1. String? didImage,
  2. String? publicShare,
  3. String? publicKey,
  4. SignedPayload? ecdsaChallengeResponse,
})

Implementation

factory CreateDIDReq({
  $core.String? didImage,
  $core.String? publicShare,
  $core.String? publicKey,
  SignedPayload? ecdsaChallengeResponse,
}) {
  final _result = create();
  if (didImage != null) {
    _result.didImage = didImage;
  }
  if (publicShare != null) {
    _result.publicShare = publicShare;
  }
  if (publicKey != null) {
    _result.publicKey = publicKey;
  }
  if (ecdsaChallengeResponse != null) {
    _result.ecdsaChallengeResponse = ecdsaChallengeResponse;
  }
  return _result;
}