fromMap static method
Implementation
static fromMap(Map<String, dynamic> accountMap) {
final prv = accountMap['privateKey'];
final pub = accountMap['publicKey'];
final addr = ZilAddress.fromAddress(accountMap['address']);
Account newAcc = new Account();
newAcc.privateKey = prv;
newAcc.publicKey = pub;
newAcc.address = addr;
return newAcc;
}