setPublicKey method
set public key
Implementation
void setPublicKey(String publicKey) {
if (publicKey.runtimeType != String) {
throw Exception('public_key must be a string');
} else {
this.publicKey = publicKey;
}
}
set public key
void setPublicKey(String publicKey) {
if (publicKey.runtimeType != String) {
throw Exception('public_key must be a string');
} else {
this.publicKey = publicKey;
}
}