Merge branch 'matrixexception-fix-nullchecker' into 'master'
[MatrixException] Add nullchecker See merge request famedly/famedlysdk!172
This commit is contained in:
commit
2e6a1ab4d4
|
@ -100,7 +100,7 @@ class MatrixException implements Exception {
|
||||||
Map<String, dynamic> get authenticationParams => raw["params"];
|
Map<String, dynamic> get authenticationParams => raw["params"];
|
||||||
|
|
||||||
/// Returns the list of already completed authentication flows from previous requests.
|
/// Returns the list of already completed authentication flows from previous requests.
|
||||||
List<String> get completedAuthenticationFlows => List<String>.from(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
|
/// For each endpoint, a server offers one or more 'flows' that the client can use
|
||||||
|
|
Loading…
Reference in a new issue