Future<Either<BaseException, Duration>> sendSms(String phone) { return post( AuthUrls.getSms, body: {'phone': phone}, mapper: (json) => DurationExtension.fromString(json['codeTtl']), ); }