fromJson static method
Implementation
static AccessKey fromJson(json) {
if (json['nonce'] == null) {
return AccessKey(json['block_hash'], json['block_height'], -1);
}
return AccessKey(json['block_hash'], json['block_height'], json['nonce']);
}