findUserById method Null safety

Future<FindUserResponse> findUserById(
  1. String userId
)

Returns a FindUserResponse for user with userId

Upon success a User object is provided and error is set to null

In case of error a ResponseError is set and no User is provided

Implementation

Future<FindUserResponse> findUserById(String userId);