getProfile method

  1. @override
Future<MesiboProfile> getProfile(
  1. String? arg_peer,
  2. int? arg_group
)
override

Implementation

@override
       Future<MesiboProfile> getProfile(String? arg_peer,int? arg_group) async{MesiboGroupProfile? profile= MesiboGroupProfile.getCachedProfile(arg_peer,arg_group,false);if(profile!= null) return Future<MesiboProfile>.value(profile);profile= await super.getProfile(arg_peer,arg_group!) as MesiboGroupProfile;return Future<MesiboProfile>.value(profile);}