Skip to content

Instantly share code, notes, and snippets.

View EchoEllet's full-sized avatar
:octocat:
I may be slow to respond.

Ellet EchoEllet

:octocat:
I may be slow to respond.
View GitHub Profile
@felangel
felangel / main.dart
Created February 27, 2019 04:02
Bloc Exception Handling
import 'dart:async';
import 'package:bloc/bloc.dart';
import 'package:equatable/equatable.dart';
abstract class AuthenticationEvent extends Equatable {
AuthenticationEvent([List props = const []]) : super(props);
}
class LoginEvent extends AuthenticationEvent {
final String loginRequest;