Implementation
factory VerificationMethod({
$core.String? id,
$core.String? type,
$core.String? controller,
$core.Iterable<KeyValuePair>? publicKeyJwk,
$core.String? publicKeyBase58,
$core.List<$core.int>? credentialJson,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (type != null) {
_result.type = type;
}
if (controller != null) {
_result.controller = controller;
}
if (publicKeyJwk != null) {
_result.publicKeyJwk.addAll(publicKeyJwk);
}
if (publicKeyBase58 != null) {
_result.publicKeyBase58 = publicKeyBase58;
}
if (credentialJson != null) {
_result.credentialJson = credentialJson;
}
return _result;
}