factory SubAccountIdentifier.fromMap(Map<String, dynamic> map) => SubAccountIdentifier(map["address"], map["metadata"]);