after
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
part of 'profile_bloc.dart';
|
||||
|
||||
abstract class ProfileEvent extends Equatable {
|
||||
const ProfileEvent();
|
||||
|
||||
@override
|
||||
List<Object> get props => [];
|
||||
}
|
||||
|
||||
class UploadPicture extends ProfileEvent {
|
||||
final String file;
|
||||
final String userId;
|
||||
|
||||
const UploadPicture(this.file, this.userId);
|
||||
|
||||
@override
|
||||
List<Object> get props => [file, userId];
|
||||
}
|
||||
|
||||
class UpdateUserInfo extends ProfileEvent {
|
||||
final String userId;
|
||||
final String name;
|
||||
|
||||
const UpdateUserInfo(this.userId, this.name);
|
||||
|
||||
@override
|
||||
List<Object> get props => [userId, name];
|
||||
}
|
||||
Reference in New Issue
Block a user