[MatrixException] Fix list

This commit is contained in:
Christian Pauly 2020-01-14 15:15:59 +00:00
parent bb6b5dfe3f
commit 2751015ab7
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class MatrixException implements Exception {
Map<String, dynamic> get authenticationParams => raw["params"];
/// Returns the list of already completed authentication flows from previous requests.
List<String> get completedAuthenticationFlows => raw["completed"];
List<String> get completedAuthenticationFlows => List<String>.from(raw["completed"]);
}
/// For each endpoint, a server offers one or more 'flows' that the client can use