SignedDelegation.fromMap constructor
Implementation
factory SignedDelegation.fromMap(Map<String, dynamic> map) {
return SignedDelegation(
delegation: map["delegation"] is Delegation
? map["delegation"]
: Delegation.fromMap(map["delegation"]),
signature: map['signature'] is String
? (map["signature"] as String).toU8a()
: Uint8List.fromList(map["signature"]));
}