pastes abstract method

Future<Either<RequestError, List<Paste>>> pastes({
  1. required String userKey,
  2. int limit = 50,
})

Retrieves the pastes of a user as a List of Paste. By default the number of pastes to retrieve is limited to 50, but another values greater than 0 can be passed.

Implementation

Future<Either<RequestError, List<Paste>>> pastes({
  required final String userKey,
  final int limit = 50,
});