getProfile method

  1. @override
Future<ProfileEntity> getProfile(
  1. String userId
)
override

Implementation

@override
Future<ProfileEntity> getProfile(String userId) async {
  await Future.delayed(const Duration(milliseconds: 300));
  return ProfileEntity(
    id: userId,
    displayName: 'User',
    email: 'user@example.com',
  );
}