ProfileInterface class abstract

Implementers

Constructors

ProfileInterface()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

appInfo(BuildContext context) Future<Either>
checkMyId(BuildContext context, String? code) Future<Either<ProfileModel, dynamic>>
getBanner({required int skip, required BuildContext context}) Future<Either<List<BannerModel>, dynamic>>
getBonus({required int skip, required BuildContext context}) Future<Either<List<BonusModel>, dynamic>>
getFouls({required int skip, required BuildContext context}) Future<Either<List<FoulsModel>, dynamic>>
getNotification({required int skip, required BuildContext context}) Future<Either<NotificationSeen?, dynamic>>
getProfile(BuildContext context) Future<Either<ProfileModel, dynamic>>
getStatistic({required DateTime from, required DateTime till, required BuildContext context}) Future<Either<StatisticModel, dynamic>>
makeSeen({required int id, required BuildContext context}) Future<Either>
makeSeenAll({required BuildContext context}) Future<Either>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendLocation({required LocationModel location, required BuildContext context}) Future
toString() String
A string representation of this object.
inherited
updateLang(BuildContext context) Future<Either>
updateProfile({required BuildContext context, String? image, required String firstName, required String lastName}) Future<Either<ProfileModel, dynamic>>

Operators

operator ==(Object other) bool
The equality operator.
inherited