-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #248 from Securrency-OSS/dv/mirai-network-widget
feat: Add Mirai Network Widget
- Loading branch information
Showing
17 changed files
with
576 additions
and
353 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
packages/mirai/lib/src/parsers/mirai_align/mirai_align.g.dart
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
packages/mirai/lib/src/parsers/mirai_expanded/mirai_expanded.g.dart
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
packages/mirai/lib/src/parsers/mirai_network_widget/mirai_network_widget.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import 'package:freezed_annotation/freezed_annotation.dart'; | ||
import 'package:mirai/mirai.dart'; | ||
|
||
export 'mirai_network_widget_parser.dart'; | ||
|
||
part 'mirai_network_widget.freezed.dart'; | ||
part 'mirai_network_widget.g.dart'; | ||
|
||
@freezed | ||
class MiraiNetworkWidget with _$MiraiNetworkWidget { | ||
const factory MiraiNetworkWidget({ | ||
required MiraiRequest request, | ||
}) = _MiraiNetworkWidget; | ||
|
||
factory MiraiNetworkWidget.fromJson(Map<String, dynamic> json) => | ||
_$MiraiNetworkWidgetFromJson(json); | ||
} |
Oops, something went wrong.