Refactors
This commit is contained in:
parent
00ab2676b2
commit
5dc8fe14bd
18 changed files with 126 additions and 95 deletions
5
lib/helpers/extensions/get_headers.dart
Normal file
5
lib/helpers/extensions/get_headers.dart
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import "package:matrix/matrix.dart";
|
||||
|
||||
extension GetHeaders on Client {
|
||||
Map<String, String> get headers => {"authorization": "Bearer $accessToken"};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue