factory TokenDelegateRole.fromJson(Map<String, dynamic> json) { return TokenDelegateRole.fromName(json["tokenDelegateRole"]["key"]); }