style: dart format fix
This commit was merged in pull request #176.
This commit is contained in:
+6
-5
@@ -14,6 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:wyatt_architecture/wyatt_architecture.dart';
|
||||
import 'package:wyatt_authentication_bloc/wyatt_authentication_bloc.dart';
|
||||
import 'package:wyatt_type_utils/wyatt_type_utils.dart';
|
||||
@@ -24,35 +25,35 @@ class ExampleAuthenticationCubit extends AuthenticationCubit<int> {
|
||||
@override
|
||||
FutureOrResult<int?> onReauthenticate(
|
||||
Result<Account, AppException> result) async {
|
||||
print('onReauthenticate');
|
||||
debugPrint('onReauthenticate');
|
||||
|
||||
return const Ok(1);
|
||||
}
|
||||
|
||||
@override
|
||||
FutureOrResult<int?> onRefresh(Result<Account, AppException> result) {
|
||||
print('onRefresh');
|
||||
debugPrint('onRefresh');
|
||||
|
||||
return const Ok(1);
|
||||
}
|
||||
|
||||
@override
|
||||
FutureOrResult<int?> onSignInFromCache(AuthenticationSession<int> session) {
|
||||
print('onSignInFromCache');
|
||||
debugPrint('onSignInFromCache');
|
||||
|
||||
return const Ok(1);
|
||||
}
|
||||
|
||||
@override
|
||||
FutureOrResult<void> onSignOut() {
|
||||
print('onSignOut');
|
||||
debugPrint('onSignOut');
|
||||
|
||||
return const Ok(null);
|
||||
}
|
||||
|
||||
@override
|
||||
FutureOrResult<void> onDelete() {
|
||||
print('onDelete');
|
||||
debugPrint('onDelete');
|
||||
|
||||
return const Ok(null);
|
||||
}
|
||||
|
||||
+4
-3
@@ -14,6 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:wyatt_architecture/wyatt_architecture.dart';
|
||||
import 'package:wyatt_authentication_bloc/wyatt_authentication_bloc.dart';
|
||||
import 'package:wyatt_form_bloc/wyatt_form_bloc.dart';
|
||||
@@ -27,7 +28,7 @@ class ExampleSignInCubit extends SignInCubit<int> {
|
||||
@override
|
||||
FutureOrResult<int?> onSignInWithEmailAndPassword(
|
||||
Result<Account, AppException> result, WyattForm form) {
|
||||
print('onSignInWithEmailAndPassword: ${result.ok?.accessToken}');
|
||||
debugPrint('onSignInWithEmailAndPassword: ${result.ok?.accessToken}');
|
||||
|
||||
return const Ok(1);
|
||||
}
|
||||
@@ -35,7 +36,7 @@ class ExampleSignInCubit extends SignInCubit<int> {
|
||||
@override
|
||||
FutureOrResult<int?> onSignInAnonymously(
|
||||
Result<Account, AppException> result, WyattForm form) {
|
||||
print('onSignInAnonymously');
|
||||
debugPrint('onSignInAnonymously');
|
||||
|
||||
return const Ok(1);
|
||||
}
|
||||
@@ -43,7 +44,7 @@ class ExampleSignInCubit extends SignInCubit<int> {
|
||||
@override
|
||||
FutureOrResult<int?> onSignInWithGoogle(
|
||||
Result<Account, AppException> result, WyattForm form) {
|
||||
print('onSignInWithGoogle');
|
||||
debugPrint('onSignInWithGoogle');
|
||||
|
||||
return const Ok(1);
|
||||
}
|
||||
|
||||
+2
-1
@@ -14,6 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:wyatt_architecture/wyatt_architecture.dart';
|
||||
import 'package:wyatt_authentication_bloc/wyatt_authentication_bloc.dart';
|
||||
import 'package:wyatt_form_bloc/wyatt_form_bloc.dart';
|
||||
@@ -27,7 +28,7 @@ class ExampleSignUpCubit extends SignUpCubit<int> {
|
||||
@override
|
||||
FutureOrResult<int?> onSignUpWithEmailAndPassword(
|
||||
Result<Account, AppException> result, WyattForm form) async {
|
||||
print('onSignUpWithEmailAndPassword');
|
||||
debugPrint('onSignUpWithEmailAndPassword');
|
||||
|
||||
return const Ok(1);
|
||||
}
|
||||
|
||||
+3
-2
@@ -14,6 +14,7 @@
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:wyatt_architecture/wyatt_architecture.dart';
|
||||
import 'package:wyatt_authentication_bloc/wyatt_authentication_bloc.dart';
|
||||
import 'package:wyatt_form_bloc/wyatt_form_bloc.dart';
|
||||
@@ -25,7 +26,7 @@ class ExampleEditAccountCubit extends EditAccountCubit<int> {
|
||||
@override
|
||||
FutureOrResult<int?> onEmailUpdated(
|
||||
Result<Account, AppException> result, WyattForm form) async {
|
||||
print('onEmailUpdated');
|
||||
debugPrint('onEmailUpdated');
|
||||
|
||||
return const Ok(1);
|
||||
}
|
||||
@@ -33,7 +34,7 @@ class ExampleEditAccountCubit extends EditAccountCubit<int> {
|
||||
@override
|
||||
FutureOrResult<int?> onPasswordUpdated(
|
||||
Result<Account, AppException> result, WyattForm form) async {
|
||||
print('onPasswordUpdated');
|
||||
debugPrint('onPasswordUpdated');
|
||||
|
||||
return const Ok(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user