-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop using singleton instance on Dart bindings
Apply changes on Flutter plugin
- Loading branch information
1 parent
797375d
commit ff1697e
Showing
12 changed files
with
5,081 additions
and
16,200 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
6,121 changes: 0 additions & 6,121 deletions
6,121
libs/sdk-flutter/lib/bridge_generated.freezed.dart
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// This file is automatically generated, so please do not edit it. | ||
// Generated by `flutter_rust_bridge`@ 2.0.0-dev.36. | ||
|
||
// ignore_for_file: invalid_use_of_internal_member, unused_import, unnecessary_import | ||
|
||
import 'frb_generated.dart'; | ||
import 'package:flutter_rust_bridge/flutter_rust_bridge_for_generated.dart'; | ||
import 'package:freezed_annotation/freezed_annotation.dart' hide protected; | ||
part 'error.freezed.dart'; | ||
|
||
@freezed | ||
sealed class ConnectError with _$ConnectError implements FrbException { | ||
const ConnectError._(); | ||
|
||
/// This error is raised when a general error occurs not specific to other error variants | ||
/// in this enum. | ||
const factory ConnectError.generic({ | ||
required String err, | ||
}) = ConnectError_Generic; | ||
|
||
/// This error is raised when [crate::models::ConnectRequest::restore_only] is set to true | ||
/// and no node exists for [crate::models::ConnectRequest::seed]. | ||
const factory ConnectError.restoreOnly({ | ||
required String err, | ||
}) = ConnectError_RestoreOnly; | ||
|
||
/// This error is raised when a connection to an external service fails. | ||
const factory ConnectError.serviceConnectivity({ | ||
required String err, | ||
}) = ConnectError_ServiceConnectivity; | ||
} |
Oops, something went wrong.